diff --git a/contrib/gcppubsub/config/gcppubsub.yaml b/contrib/gcppubsub/config/gcppubsub.yaml index 9c6b08f3ff4..c05493180c8 100644 --- a/contrib/gcppubsub/config/gcppubsub.yaml +++ b/contrib/gcppubsub/config/gcppubsub.yaml @@ -126,11 +126,10 @@ spec: value: gcppubsub-channel-key - name: DEFAULT_SECRET_KEY value: key.json - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace --- @@ -215,19 +214,18 @@ spec: - name: dispatcher image: github.com/knative/eventing/contrib/gcppubsub/pkg/dispatcher/cmd env: - - name: DEFAULT_GCP_PROJECT - value: REPLACE_WITH_GCP_PROJECT - - name: DEFAULT_SECRET_NAMESPACE - value: knative-eventing - - name: DEFAULT_SECRET_NAME - value: gcppubsub-channel-key - - name: DEFAULT_SECRET_KEY - value: key.json - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace + - name: DEFAULT_GCP_PROJECT + value: REPLACE_WITH_GCP_PROJECT + - name: DEFAULT_SECRET_NAMESPACE + value: knative-eventing + - name: DEFAULT_SECRET_NAME + value: gcppubsub-channel-key + - name: DEFAULT_SECRET_KEY + value: key.json + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace --- diff --git a/contrib/natss/config/provisioner.yaml b/contrib/natss/config/provisioner.yaml index d1de4bf4f24..681146deca6 100644 --- a/contrib/natss/config/provisioner.yaml +++ b/contrib/natss/config/provisioner.yaml @@ -103,11 +103,11 @@ spec: containers: - name: controller image: github.com/knative/eventing/contrib/natss/pkg/controller - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace + env: + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace --- @@ -180,8 +180,8 @@ spec: containers: - name: dispatcher image: github.com/knative/eventing/contrib/natss/pkg/dispatcher - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace + env: + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace