Skip to content

Commit

Permalink
fix knative operator deployment name (knative#1303)
Browse files Browse the repository at this point in the history
Co-authored-by: Stavros Kontopoulos <[email protected]>
  • Loading branch information
openshift-cherrypick-robot and skonto authored Nov 4, 2022
1 parent 5879247 commit 904fbb4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,17 @@ function update_csv(){

cat << EOF | yq write --inplace --script - $CSV || return $?
- command: update
path: spec.install.spec.deployments.(name==knative-operator).spec.template.spec.containers.(name==knative-operator).env[+]
path: spec.install.spec.deployments.(name==knative-operator-webhook).spec.template.spec.containers.(name==knative-operator).env[+]
value:
name: "KO_DATA_PATH"
value: "/tmp/knative/"
- command: update
path: spec.install.spec.deployments.(name==knative-operator).spec.template.spec.containers.(name==knative-operator).volumeMounts[+]
path: spec.install.spec.deployments.(name==knative-operator-webhook).spec.template.spec.containers.(name==knative-operator).volumeMounts[+]
value:
name: "serving-manifest"
mountPath: "/tmp/knative/knative-serving/${SERVING_VERSION}"
- command: update
path: spec.install.spec.deployments.(name==knative-operator).spec.template.spec.volumes[+]
path: spec.install.spec.deployments.(name==knative-operator-webhook).spec.template.spec.volumes[+]
value:
name: "serving-manifest"
configMap:
Expand All @@ -139,12 +139,12 @@ function update_csv(){
path: "knative-serving-ci.yaml"
# eventing
- command: update
path: spec.install.spec.deployments.(name==knative-operator).spec.template.spec.containers.(name==knative-operator).volumeMounts[+]
path: spec.install.spec.deployments.(name==knative-operator-webhook).spec.template.spec.containers.(name==knative-operator).volumeMounts[+]
value:
name: "eventing-manifest"
mountPath: "/tmp/knative/knative-eventing/${EVENTING_VERSION}"
- command: update
path: spec.install.spec.deployments.(name==knative-operator).spec.template.spec.volumes[+]
path: spec.install.spec.deployments.(name==knative-operator-webhook).spec.template.spec.volumes[+]
value:
name: "eventing-manifest"
configMap:
Expand All @@ -154,12 +154,12 @@ function update_csv(){
path: "knative-eventing-ci.yaml"
# kourier
- command: update
path: spec.install.spec.deployments.(name==knative-operator).spec.template.spec.containers.(name==knative-operator).volumeMounts[+]
path: spec.install.spec.deployments.(name==knative-operator-webhook).spec.template.spec.containers.(name==knative-operator).volumeMounts[+]
value:
name: "kourier-manifest"
mountPath: "/tmp/knative/ingress/${KOURIER_MINOR_VERSION}"
- command: update
path: spec.install.spec.deployments.(name==knative-operator).spec.template.spec.volumes[+]
path: spec.install.spec.deployments.(name==knative-operator-webhook).spec.template.spec.volumes[+]
value:
name: "kourier-manifest"
configMap:
Expand Down

0 comments on commit 904fbb4

Please sign in to comment.