[DO-1377] rename chart

This commit is contained in:
Rustam Tagaev
2024-12-02 12:25:28 +03:00
parent f805045dcb
commit 596607b291
11 changed files with 35 additions and 47 deletions

View File

@@ -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: