Merge pull request #1381 from michelleN/fix-nginx-example

chore(docs): fix nginx example templates
pull/1375/head
Michelle Noorali 8 years ago committed by GitHub
commit e963e1ccbd

@ -15,7 +15,7 @@ metadata:
# This makes it easy to audit chart usage. # This makes it easy to audit chart usage.
chart: "{{.Chart.Name}}-{{.Chart.Version}}" chart: "{{.Chart.Name}}-{{.Chart.Version}}"
spec: spec:
replicas: {{default 1 .Values.replicaCount | quote}} replicas: {{default 1 .Values.replicaCount}}
template: template:
metadata: metadata:
labels: labels:

@ -10,7 +10,7 @@ metadata:
chart: "{{.Chart.Name}}-{{.Chart.Version}}" chart: "{{.Chart.Name}}-{{.Chart.Version}}"
spec: spec:
ports: ports:
- port: {{default 80 .Values.httpPort | quote}} - port: {{default 80 .Values.httpPort}}
targetPort: 80 targetPort: 80
protocol: TCP protocol: TCP
name: http name: http

Loading…
Cancel
Save