diff options
| author | Max Resnick <max@ofmax.li> | 2021-10-09 23:07:53 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2021-10-09 23:28:41 -0700 |
| commit | bda8a1c25070678e6efd22003e398691404c832f (patch) | |
| tree | 6ad3711b08bf3f8f3ad3577e97243402bad64b79 /grumpy/static-files/templates/deployment.yaml | |
| parent | b2630dfd176884f9b33be88f2033b84a1c4dd7cd (diff) | |
| download | grumpy-charts-bda8a1c25070678e6efd22003e398691404c832f.tar.gz | |
feat: switch to kustomize from helm
Diffstat (limited to 'grumpy/static-files/templates/deployment.yaml')
| -rw-r--r-- | grumpy/static-files/templates/deployment.yaml | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/grumpy/static-files/templates/deployment.yaml b/grumpy/static-files/templates/deployment.yaml deleted file mode 100644 index da9d3c8..0000000 --- a/grumpy/static-files/templates/deployment.yaml +++ /dev/null @@ -1,53 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "static-files.fullname" . }} - labels: -{{ include "static-files.labels" . | indent 4 }} -spec: - replicas: {{ .Values.replicaCount }} - selector: - matchLabels: - app.kubernetes.io/name: {{ include "static-files.name" . }} - app.kubernetes.io/instance: {{ .Release.Name }} - template: - metadata: - labels: - app.kubernetes.io/name: {{ include "static-files.name" . }} - app.kubernetes.io/instance: {{ .Release.Name }} - spec: - {{- with .Values.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 8 }} - {{- end }} - serviceAccountName: {{ template "static-files.serviceAccountName" . }} - containers: - - name: {{ .Chart.Name }} - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - ports: - - name: http - containerPort: 8080 - protocol: TCP - livenessProbe: - httpGet: - path: / - port: http - readinessProbe: - httpGet: - path: / - port: http - resources: - {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.affinity }} - affinity: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} |