Skip to content

Commit

Permalink
Merge pull request #3051 from /issues/3049-kube-hostnames
Browse files Browse the repository at this point in the history
Add back HOSTNAME env var for weave-npc container
  • Loading branch information
marccarre committed Jul 4, 2017
2 parents d8222d7 + 6b4c6c8 commit b5759c5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions prog/weave-kube/weave-daemonset-k8s-1.6.yaml
Expand Up @@ -97,6 +97,12 @@ items:
- name: lib-modules
mountPath: /lib/modules
- name: weave-npc
env:
- name: HOSTNAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
image: 'weaveworks/weave-npc:latest'
imagePullPolicy: Always
resources:
Expand Down
6 changes: 6 additions & 0 deletions prog/weave-kube/weave-daemonset.yaml
Expand Up @@ -61,6 +61,12 @@ items:
- name: lib-modules
mountPath: /lib/modules
- name: weave-npc
env:
- name: HOSTNAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
image: 'weaveworks/weave-npc:latest'
imagePullPolicy: Always
resources:
Expand Down

0 comments on commit b5759c5

Please sign in to comment.