Skip to content

Commit

Permalink
fix(chart): fix claimName and service name
Browse files Browse the repository at this point in the history
  • Loading branch information
verdel committed Jul 15, 2024
1 parent 343a538 commit 3f76e95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: my-app
claimName: {{ .Release.Name }}
7 changes: 3 additions & 4 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -13,6 +12,6 @@ spec:
pathType: Prefix
backend:
service:
name: my-app
port:
name: {{ .Release.Name }}
port:
number: 80

0 comments on commit 3f76e95

Please sign in to comment.