fix(chart): fix claimName and service name
This commit is contained in:
parent
343a538308
commit
3f76e95a51
@ -29,4 +29,4 @@ spec:
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: my-app
|
||||
claimName: {{ .Release.Name }}
|
||||
|
@ -2,9 +2,8 @@ apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: {{ .Values.ingress.host }}
|
||||
http:
|
||||
@ -13,6 +12,6 @@ spec:
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: my-app
|
||||
name: {{ .Release.Name }}
|
||||
port:
|
||||
number: 80
|
||||
|
Loading…
Reference in New Issue
Block a user