[DO-1377] rename chart
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "myHelmChart.fullname" . }}
|
||||
name: {{ include "openresty.fullname" . }}
|
||||
labels:
|
||||
{{- include "myHelmChart.labels" . | nindent 4 }}
|
||||
{{- include "openresty.labels" . | nindent 4 }}
|
||||
spec:
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "myHelmChart.selectorLabels" . | nindent 6 }}
|
||||
{{- include "openresty.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "myHelmChart.labels" . | nindent 8 }}
|
||||
{{- include "openresty.labels" . | nindent 8 }}
|
||||
{{- with .Values.podLabels }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "myHelmChart.serviceAccountName" . }}
|
||||
serviceAccountName: {{ include "openresty.serviceAccountName" . }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
|
||||
Reference in New Issue
Block a user