Skip to content

Commit

Permalink
Merge pull request #27 from mittwald/martin-helmich-patch-1
Browse files Browse the repository at this point in the history
Fix some documentation bugs
  • Loading branch information
martin-helmich authored Apr 28, 2020
2 parents 2f5b8eb + 6fdb876 commit 26256cf
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ spec:
replicas: 2
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
app: cache
template:
metadata:
labels:
Expand All @@ -207,7 +210,6 @@ spec:
- name: cache
image: quay.io/spaces/kube-httpcache:stable
imagePullPolicy: Always
restartPolicy: Always
args:
- -admin-addr=0.0.0.0
- -admin-port=6083
Expand All @@ -222,17 +224,18 @@ spec:
- -varnish-secret-file=/etc/varnish/k8s-secret/secret
- -varnish-vcl-template=/etc/varnish/tmpl/default.vcl.tmpl
- -varnish-storage=malloc,128M
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- name: template
mountPath: /etc/varnish/tmpl
- name: secret
mountPath: /etc/varnish/k8s-secret
serviceAccountName: kube-httpcache # when using RBAC
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
restartPolicy: Always
volumes:
- name: template
configMap:
Expand Down

0 comments on commit 26256cf

Please sign in to comment.