Compare commits
No commits in common. "0a3982ff7f9167dfe37cacfe3ff2857b51abb3e3" and "61d3fe832fd65b3207c4a5dace920c4b416b76da" have entirely different histories.
0a3982ff7f
...
61d3fe832f
37
.gitignore
vendored
37
.gitignore
vendored
@ -1,37 +0,0 @@
|
|||||||
# General files for the project
|
|
||||||
pkg/*
|
|
||||||
*.pyc
|
|
||||||
bin/*
|
|
||||||
.project
|
|
||||||
/.bin
|
|
||||||
/_test/secrets/*.json
|
|
||||||
|
|
||||||
# OSX leaves these everywhere on SMB shares
|
|
||||||
._*
|
|
||||||
|
|
||||||
# OSX trash
|
|
||||||
.DS_Store
|
|
||||||
|
|
||||||
# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
|
|
||||||
.idea/
|
|
||||||
*.iml
|
|
||||||
|
|
||||||
# Vscode files
|
|
||||||
.vscode
|
|
||||||
|
|
||||||
# Emacs save files
|
|
||||||
*~
|
|
||||||
\#*\#
|
|
||||||
.\#*
|
|
||||||
|
|
||||||
# Vim-related files
|
|
||||||
[._]*.s[a-w][a-z]
|
|
||||||
[._]s[a-w][a-z]
|
|
||||||
*.un~
|
|
||||||
Session.vim
|
|
||||||
.netrwhist
|
|
||||||
|
|
||||||
# Chart dependencies
|
|
||||||
**/charts/*.tgz
|
|
||||||
|
|
||||||
.history
|
|
@ -51,17 +51,20 @@ spec:
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- include "lib.environmentVariables" . | default "[]" | nindent 12 }}
|
{{- include "lib.environmentVariables" . | default "{}" | nindent 12 }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
{{- with .Values.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- range $i, $values := .Values.volumeClaimTemplates }}
|
{{- toYaml . | nindent 12 }}
|
||||||
- name: {{ $values.name }}
|
{{- end }}
|
||||||
mountPath: {{ $values.mountPath }}
|
{{- with .Values.volumes }}
|
||||||
|
volumes:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
@ -75,16 +78,4 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeClaimTemplates:
|
|
||||||
{{- range $i, $values := .Values.volumeClaimTemplates }}
|
|
||||||
- metadata:
|
|
||||||
name: {{ $values.name }}
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- {{ required (printf "accessMode is required for volumeClaimTemplate %v" $values.name) $values.accessMode | quote }}
|
|
||||||
storageClassName: {{ required (printf "storageClassName is required for volumeClaimTemplate %v" $values.name) $values.storageClassName | quote }}
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: {{ required (printf "size is required for volumeClaimTemplate %v" $values.name) $values.size | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
11
values.yaml
11
values.yaml
@ -120,17 +120,6 @@ volumeMounts: []
|
|||||||
# mountPath: "/etc/foo"
|
# mountPath: "/etc/foo"
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
|
|
||||||
# used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset
|
|
||||||
volumeClaimTemplates: []
|
|
||||||
#volumeClaimTemplates:
|
|
||||||
# - name: www
|
|
||||||
# mountPath: /var/www/html
|
|
||||||
# accessModes: "ReadWriteOnce"
|
|
||||||
# storageClassName: "my-storage-class"
|
|
||||||
# size: 1Gi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# Specifies whether a service account should be created
|
# Specifies whether a service account should be created
|
||||||
create: true
|
create: true
|
||||||
|
Loading…
Reference in New Issue
Block a user