Skip to content

Commit

Permalink
feat: set router image env on system (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
viters authored Jul 28, 2023
1 parent d4931fb commit cc369b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions charts/codezero/templates/orchestrator/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@ spec:
targetPort: 8900
protocol: TCP
name: http
- port: 8901
targetPort: 8901
protocol: TCP
name: https
selector:
{{- include "orchestrator.selectorLabels" . | nindent 4 }}
2 changes: 2 additions & 0 deletions charts/codezero/templates/system/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
value: "{{ include "orchestrator.fullname" . }}.{{ .Release.Namespace }}:8900"
- name: CZ_PORT
value: "8800"
- name: CZ_ROUTER_IMAGE
value: "c6oio/router:{{ .Values.system.image.tag | default .Chart.AppVersion }}"
envFrom:
- secretRef:
name: {{ include "system.fullname" . }}
Expand Down

0 comments on commit cc369b5

Please sign in to comment.