Skip to content

Commit bc72e07

Browse files
authored
Merge pull request #8890 from zalando-incubator/vthupili-tmp
feat: Update WIZ Broker and Connector Job resources
2 parents 85add7a + a095d53 commit bc72e07

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cluster/manifests/wiz/002-connector-broker-serviceaccount.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{{ if eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true"}}
2-
# It is created when wiz_enable_runtime_connector is true and deleted when wiz_enable_runtime_connector_broker and wiz_enable_runtime_connector is false
1+
{{ if or (eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true") (eq .Cluster.ConfigItems.wiz_enable_runtime_connector_broker "true") }}
2+
# It is created when wiz_enable_runtime_connector or is wiz_enable_runtime_connector_broker true and deleted when wiz_enable_runtime_connector_broker and wiz_enable_runtime_connector is false
33
---
44
# Source: wiz-kubernetes-integration/charts/wiz-kubernetes-connector/charts/wiz-broker/templates/serviceaccount.yaml
55
apiVersion: v1

cluster/manifests/wiz/003-connector-broker-clusterrole.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{{ if eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true"}}
1+
{{ if or (eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true") (eq .Cluster.ConfigItems.wiz_enable_runtime_connector_broker "true") }}
22
# wiz-cluster-reader-token Secret is dependent on wiz-cluster-reader SA.
3-
# It is created when wiz_enable_runtime_connector is true and deleted when wiz_enable_runtime_connector_broker and wiz_enable_runtime_connector is false
3+
# It is created 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
44
---
55
# Source: wiz-kubernetes-integration/charts/wiz-kubernetes-connector/templates/service-account-cluster-reader.yaml
66
apiVersion: rbac.authorization.k8s.io/v1

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{{ if eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true"}}
1+
{{ if or (eq .Cluster.ConfigItems.wiz_enable_runtime_connector "true") (eq .Cluster.ConfigItems.wiz_enable_runtime_connector_broker "true") }}
22
---
33
# These are used both in Job and Deployment
4-
# Create when wiz_enable_runtime_connector is true and deleted when wiz_enable_runtime_connector_broker and wiz_enable_runtime_connector is false
4+
# 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
55
# Source: wiz-kubernetes-integration/charts/wiz-kubernetes-connector/templates/secret-connector.yaml
66
apiVersion: v1
77
kind: Secret

0 commit comments

Comments
 (0)