Skip to content

Commit a1cad1c

Browse files
authored
Merge pull request #9111 from zalando-incubator/vthupili
fix: connector job and broker deployment
2 parents e282c76 + f82a203 commit a1cad1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cluster/manifests/wiz/004-connector-broker-secrets.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ if or (eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true") (eq .Cluster.ConfigItems.wiz_enable_runtime_connector_broker "true") }}
1+
{{ if eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true" }}
22
---
33
# These are used both in Job and Deployment
44
# Create when wiz_enable_runtime_connector or wiz_enable_runtime_connector_broker is true and deleted when wiz_enable_runtime_connector_broker and wiz_enable_runtime_connector is false
@@ -15,6 +15,8 @@ metadata:
1515
type: Opaque
1616
data:
1717
connectorData: "e30="
18+
{{end}}
19+
{{ if or (eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true") (eq .Cluster.ConfigItems.wiz_enable_runtime_connector_broker "true") }}
1820
---
1921
# Source: wiz-kubernetes-integration/charts/wiz-kubernetes-connector/templates/service-account-cluster-reader.yaml
2022
apiVersion: v1

0 commit comments

Comments
 (0)