Skip to content

Commit

Permalink
Update wiz-broker logic to match wiz-connector-creator (#95)
Browse files Browse the repository at this point in the history
* Update wiz-broker logic to match wiz-connector-creator

* Update version

---------

Co-authored-by: barmagnezi <[email protected]>
  • Loading branch information
TheAlanNix and barmagnezi authored Apr 9, 2023
1 parent f74eddb commit e03899d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wiz-kubernetes-connector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.0.0
version: 2.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions wiz-kubernetes-connector/templates/wiz-broker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ spec:
env:
- name: WIZ_ENV
value: {{ .Values.wizApiToken.clientEndpoint | quote }}
{{- if not .Values.wizApiToken.usePodCustomEnvironmentVariablesFile }}
- name: WIZ_CLIENT_ID
valueFrom:
secretKeyRef:
Expand All @@ -73,6 +74,7 @@ spec:
secretKeyRef:
name: {{ include "wiz-kubernetes-connector.apiTokenSecretName" . | trim }}
key: clientToken
{{- end }}
{{- if .Values.broker.podCustomEnvironmentVariablesFile }}
- name: CLI_ENV_FILE
value: {{ .Values.broker.podCustomEnvironmentVariablesFile }}
Expand Down

0 comments on commit e03899d

Please sign in to comment.