Skip to content

Commit

Permalink
chore: use global registry and update svc account name
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored and moshloop committed Jun 21, 2024
1 parent 3249ef9 commit 2829eaa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: {{ .Values.image.repositoryPrefix }}/{{- include "chart.fullname" .}}:{{ .Values.image.tag | default .Chart.AppVersion }}
image: "{{ tpl .Values.global.imageRegistry . }}/{{ tpl .Values.image.name . }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
env:
- name: HOSTNAME
value: "0.0.0.0"
Expand Down
11 changes: 6 additions & 5 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Default values for chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

global:
imageRegistry: docker.io
imagePrefix: flanksource

image:
repositoryPrefix: "docker.io/flanksource" # Repository prefix, without trailing /
name: '{{.Values.global.imagePrefix}}/incident-manager-ui'
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
Expand All @@ -23,7 +24,7 @@ serviceAccount:
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
name: "flanksource-ui-sa"

podAnnotations: {}

Expand Down

0 comments on commit 2829eaa

Please sign in to comment.