Skip to content

Commit

Permalink
wip(charts): add a debug shell to debug thredds [pack]
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Feb 4, 2022
1 parent 844f396 commit 035c8cb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions charts/thredds/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@ spec:
{{- include "common.envsubstConfig.renderInitContainer" ( dict "args" (
dict "targetVolumeName" "thredds-config" "helperSuffix" "-thredds" "env" (dict)) "context" $ ) | nindent 8 }}
containers:
- name: debug-shell
image: busybox
command: [ 'sh', '-c', 'while true; do sleep 10; done' ]
volumeMounts:
- mountPath: /usr/local/tomcat/conf/
name: tomcat-config
- mountPath: /usr/local/tomcat/content/thredds
name: thredds-config
- mountPath: /usr/local/tomcat/content/thredds/public
subPath: {{ .Values.publicDataSubPath }}
name: thredds-data
- mountPath: /usr/local/tomcat/content/thredds/cache
subPath: {{ .Values.cacheDataSubPath }}
name: thredds-data
- name: {{ include "common.names.name" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down

0 comments on commit 035c8cb

Please sign in to comment.