Skip to content

Commit

Permalink
add capability to mount secrets, configmaps, extra PVCs as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
bryopsida committed Jan 2, 2022
1 parent fe41b22 commit d41dd39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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.3
version: 0.1.4
appVersion: "0.1.0"
6 changes: 6 additions & 0 deletions charts/k8s-dev-pod/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ spec:
- name: dropbear
persistentVolumeClaim:
claimName: {{ .Release.Name }}-dropbear
{{- if .Values.volumes }}
{{- toYaml .Values.volumes | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand All @@ -50,6 +53,9 @@ spec:
- name: dropbear
mountPath: /etc/dropbear
readOnly: false
{{- if .Values.volumeMounts }}
{{- toYaml .Values.volumeMounts | nindent 12 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit d41dd39

Please sign in to comment.