Skip to content

Commit

Permalink
Merge pull request #5595 from Andrey9kin/master
Browse files Browse the repository at this point in the history
Enable weave network encryption for k8s 1.6
  • Loading branch information
k8s-ci-robot authored Aug 14, 2018
2 parents 9da7daf + 3dc8020 commit 15dc672
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{{- if WeaveSecret }}
apiVersion: v1
kind: Secret
metadata:
name: weave-net
namespace: kube-system
stringData:
network-password: {{ WeaveSecret }}
---
{{- end }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -128,6 +138,13 @@ spec:
- name: CONN_LIMIT
value: "{{ .Networking.Weave.ConnLimit }}"
{{- end }}
{{- if WeaveSecret }}
- name: WEAVE_PASSWORD
valueFrom:
secretKeyRef:
name: weave-net
key: network-password
{{- end }}
image: 'weaveworks/weave-kube:2.3.0'
livenessProbe:
httpGet:
Expand Down

0 comments on commit 15dc672

Please sign in to comment.