Skip to content

Commit

Permalink
add set app in front end
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-mher committed Aug 30, 2023
1 parent 2e89777 commit 615c635
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: backend
description: Helm chart scaffolding for Backend applications.
type: application
version: 3.6.5
version: 3.6.7
appVersion: 1.3.0
2 changes: 1 addition & 1 deletion charts/frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: frontend
description: A frontend Helm chart for Kubernetes
type: application
version: 3.6.5
version: 3.6.7
appVersion: "0.3.10"
4 changes: 2 additions & 2 deletions charts/frontend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.app.image.pullPolicy }}
{{- if $.Values.command }}
command:
{{ toYaml .Values.command | nindent 12 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/frontend/templates/migrate-public-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
restartPolicy: "{{ .Values.migration.restartPolicy }}"
containers:
- name: "{{ include "ucraft-base-helm.fullname" . }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag }}"
imagePullPolicy: {{ default "IfNotPresent" .Values.migration.image.pullPolicy }}

{{- if .Values.migration.config.command }}
Expand Down
10 changes: 5 additions & 5 deletions charts/frontend/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
replicaCount: 1

image:
repository: nginx
pullPolicy: IfNotPresent
tag: 1.21
app:
image:
repository: nginx
pullPolicy: IfNotPresent
tag: 1.21

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 615c635

Please sign in to comment.