From 7bbf578ee562e8629020dbde86c929998f572ce9 Mon Sep 17 00:00:00 2001 From: Chi-En Wu Date: Thu, 23 Apr 2020 09:21:29 +0800 Subject: [PATCH] docs: correct indentations --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8423738..1bf9bd6 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,10 @@ To make use of these templates you must define a template that will extend the b # custom: label # spec: # ports: -# - port: 8080 -# targetPort: http -# protocol: TCP -# name: http +# - port: 8080 +# targetPort: http +# protocol: TCP +# name: http {{- end -}} ``` @@ -238,14 +238,14 @@ spec: template: spec: containers: - - {{- include "common.container" (append . "mychart.deployment.container") | nindent 10 }} + - {{- include "common.container" (append . "mychart.deployment.container") | nindent 8 }} {{- end -}} {{- define "mychart.deployment.container" -}} ## Define overrides for your Container here, e.g. ports: - - name: http - containerPort: 80 - protocol: TCP +- name: http + containerPort: 80 + protocol: TCP livenessProbe: httpGet: path: / @@ -270,7 +270,7 @@ image: securityContext: capabilities: drop: - - ALL + - ALL readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 1000