Skip to content

Commit

Permalink
add default user
Browse files Browse the repository at this point in the history
  • Loading branch information
knightXun committed Mar 2, 2020
1 parent df1e77e commit bf5759f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kubernetes/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
- name: nebula-graphd
image: "{{ .Values.image.graphd.repository }}:{{ .Values.image.graphd.tag }}"
imagePullPolicy: {{ .Values.image.graphd.pullPolicy }}
env:
- name: USER
value: root
resources:
requests:
cpu: {{ .Values.resources.graphd.requests.cpu | quote }}
Expand Down
6 changes: 6 additions & 0 deletions kubernetes/helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
- name: nebula-metad
image: "{{ .Values.image.metad.repository }}:{{ .Values.image.metad.tag }}"
imagePullPolicy: {{ .Values.image.metad.pullPolicy }}
env:
- name: USER
value: root
resources:
requests:
cpu: {{ .Values.resources.metad.requests.cpu | quote }}
Expand Down Expand Up @@ -120,6 +123,9 @@ spec:
- name: nebula-storaged
image: "{{ .Values.image.storaged.repository }}:{{ .Values.image.storaged.tag }}"
imagePullPolicy: {{ .Values.image.storaged.pullPolicy }}
env:
- name: USER
value: root
resources:
requests:
cpu: {{ .Values.resources.storaged.requests.cpu | quote }}
Expand Down

0 comments on commit bf5759f

Please sign in to comment.