Fix reuse-surface deploy: disable service links, pin image ae41395
This commit is contained in:
parent
37a5c2f690
commit
083e242230
2 changed files with 6 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels: {{- include "reuse.selectorLabels" . | nindent 8 }}
|
labels: {{- include "reuse.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
|
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: reuse-surface
|
- name: reuse-surface
|
||||||
|
|
@ -31,6 +32,10 @@ spec:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.envSecretName | quote }}
|
name: {{ .Values.envSecretName | quote }}
|
||||||
env:
|
env:
|
||||||
|
- name: REUSE_SURFACE_LISTEN_HOST
|
||||||
|
value: "0.0.0.0"
|
||||||
|
- name: REUSE_SURFACE_LISTEN_PORT
|
||||||
|
value: {{ .Values.service.targetPort | quote }}
|
||||||
- name: REUSE_SURFACE_DB
|
- name: REUSE_SURFACE_DB
|
||||||
value: {{ printf "%s/reuse.db" .Values.persistence.mountPath | quote }}
|
value: {{ printf "%s/reuse.db" .Values.persistence.mountPath | quote }}
|
||||||
- name: REUSE_SURFACE_CACHE_DIR
|
- name: REUSE_SURFACE_CACHE_DIR
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
# REUSE_SURFACE_TOKEN is supplied via Secret reuse-surface-env.
|
# REUSE_SURFACE_TOKEN is supplied via Secret reuse-surface-env.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: "pending-first-build"
|
tag: "ae41395"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue