Skip to content

Commit

Permalink
changed '>>' to '>' in order to avoid duplicated k8s resources in yam…
Browse files Browse the repository at this point in the history
…ls (#3548)

Co-authored-by: tikr7 <tim.krause@alexanderthamm.com>
  • Loading branch information
knative-prow-robot and tikr7 authored Jan 15, 2024
1 parent c9160b6 commit 649108a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/control-plane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ readonly CONTROL_PLANE_SOURCE_CONFIG_DIR=control-plane/config/eventing-kafka-sou
# Note: do not change this function name, it's used during releases.
function control_plane_setup() {
ko resolve ${KO_FLAGS} -Rf "${CONTROL_PLANE_CONFIG_DIR}" | "${LABEL_YAML_CMD[@]}" >>"${EVENTING_KAFKA_CONTROL_PLANE_ARTIFACT}" || return $?
ko resolve ${KO_FLAGS} -Rf "${CONTROL_PLANE_POST_INSTALL_CONFIG_DIR}" | "${LABEL_YAML_CMD[@]}" >>"${EVENTING_KAFKA_POST_INSTALL_ARTIFACT}" || return $?
ko resolve ${KO_FLAGS} -Rf "${CONTROL_PLANE_POST_INSTALL_CONFIG_DIR}" | "${LABEL_YAML_CMD[@]}" >"${EVENTING_KAFKA_POST_INSTALL_ARTIFACT}" || return $?
}

function control_plane_source_setup() {
ko resolve ${KO_FLAGS} -Rf "${CONTROL_PLANE_POST_INSTALL_CONFIG_DIR}" | "${LABEL_YAML_CMD[@]}" >>"${EVENTING_KAFKA_POST_INSTALL_ARTIFACT}" || return $?
ko resolve ${KO_FLAGS} -Rf "${CONTROL_PLANE_POST_INSTALL_CONFIG_DIR}" | "${LABEL_YAML_CMD[@]}" >"${EVENTING_KAFKA_POST_INSTALL_ARTIFACT}" || return $?
ko resolve ${KO_FLAGS} -Rf "${CONTROL_PLANE_SOURCE_CONFIG_DIR}" | "${LABEL_YAML_CMD[@]}" >>"${EVENTING_KAFKA_SOURCE_BUNDLE_ARTIFACT}" || return $?
}

0 comments on commit 649108a

Please sign in to comment.