aboutsummaryrefslogtreecommitdiff
path: root/grumpy/znc/templates/deployment.yaml
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2021-10-09 23:07:53 -0700
committerMax Resnick <max@ofmax.li>2021-10-09 23:28:41 -0700
commitbda8a1c25070678e6efd22003e398691404c832f (patch)
tree6ad3711b08bf3f8f3ad3577e97243402bad64b79 /grumpy/znc/templates/deployment.yaml
parentb2630dfd176884f9b33be88f2033b84a1c4dd7cd (diff)
downloadgrumpy-charts-bda8a1c25070678e6efd22003e398691404c832f.tar.gz
feat: switch to kustomize from helm
Diffstat (limited to '')
-rw-r--r--grumpy/znc/templates/deployment.yaml56
1 files changed, 0 insertions, 56 deletions
diff --git a/grumpy/znc/templates/deployment.yaml b/grumpy/znc/templates/deployment.yaml
deleted file mode 100644
index e33b6ac..0000000
--- a/grumpy/znc/templates/deployment.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-{{- $fullName := include "znc.fullname" . -}}
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: {{ $fullName }}
- labels:
-{{ include "znc.labels" . | indent 4 }}
-spec:
- replicas: {{ .Values.replicaCount }}
- selector:
- matchLabels:
- app.kubernetes.io/name: {{ include "znc.name" . }}
- app.kubernetes.io/instance: {{ .Release.Name }}
- template:
- metadata:
- labels:
- app.kubernetes.io/name: {{ include "znc.name" . }}
- app.kubernetes.io/instance: {{ .Release.Name }}
- spec:
- {{- with .Values.imagePullSecrets }}
- imagePullSecrets:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- serviceAccountName: {{ template "znc.serviceAccountName" . }}
- securityContext:
- runAsUser: 1000
- runAsGroup: 1000
- fsGroup: 1000
- containers:
- - name: {{ .Chart.Name }}
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
- imagePullPolicy: {{ .Values.image.pullPolicy }}
- resources:
- {{- toYaml .Values.resources | nindent 12 }}
- volumeMounts:
- - name: zncconf
- mountPath: "/mnt/config"
- volumes:
- - name: zncconf
- secret:
- secretName: {{ $fullName }}-confs
- items:
- - key: znc
- path: znc.tar.gz
- {{- with .Values.nodeSelector }}
- nodeSelector:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- {{- with .Values.affinity }}
- affinity:
- {{- toYaml . | nindent 8 }}
- {{- end }}
- {{- with .Values.tolerations }}
- tolerations:
- {{- toYaml . | nindent 8 }}
- {{- end }}