Skip to content

Commit

Permalink
move image repo and tag out to values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bryopsida committed Jan 2, 2022
1 parent 31fe28f commit ca93018
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/k8s-dev-pod/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: k8s-dev-pod
description: A Helm chart for deploying a dev environment inside a K8S cluster that is compatible with Visual Studio Code remote targets
type: application
version: 0.1.2
version: 0.1.3
appVersion: "0.1.0"
2 changes: 1 addition & 1 deletion charts/k8s-dev-pod/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "ghcr.io/bryopsida/k8s-dev-pod:main"
image: "{{ .Values.image.repo }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: ssh
Expand Down
2 changes: 2 additions & 0 deletions charts/k8s-dev-pod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
image:
repo: ghcr.io/bryopsida/k8s-dev-pod
tag: main
pullPolicy: Always
homeSize: 20

0 comments on commit ca93018

Please sign in to comment.