Skip to content

Commit ceb5a10

Browse files
author
Vinay Thupili
committed
fix: connector job and broker deployment
1 parent 647bb13 commit ceb5a10

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 or (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)