Skip to content

Commit

Permalink
fix: moves opa configuration out of orchestrator (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrrz-victor authored Jun 19, 2024
1 parent ad45c5b commit abc788a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/codezero/templates/orchestrator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ spec:
value: /etc/ssl/certs/space/tls.pem
- name: CZ_CLUSTER_CERT_KEY
value: /etc/ssl/certs/space/tls.key
{{- if .Values.orchestrator.opa.enabled }}
{{- if .Values.opa.enabled }}
- name: CZ_OPA_URL
value: {{ .Values.orchestrator.opa.url }}
value: {{ .Values.opa.url }}
{{- end }}
{{- if .Values.hub.url }}
- name: CZ_HUB_URL
Expand Down
6 changes: 3 additions & 3 deletions charts/codezero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ space:
org:
apikey: ""
id: ""
opa:
url: ""
enabled: false

podAnnotations: { }
labels: { }
Expand Down Expand Up @@ -60,9 +63,6 @@ orchestrator:
tolerations: [ ]
affinity: { }

opa:
url: ""
enabled: false

serviceAccount:
create: true
Expand Down

0 comments on commit abc788a

Please sign in to comment.