Fix reuse-surface deploy: disable service links, pin image ae41395
This commit is contained in:
@@ -16,6 +16,7 @@ spec:
|
||||
metadata:
|
||||
labels: {{- include "reuse.selectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
enableServiceLinks: false
|
||||
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: reuse-surface
|
||||
@@ -31,6 +32,10 @@ spec:
|
||||
- secretRef:
|
||||
name: {{ .Values.envSecretName | quote }}
|
||||
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
|
||||
value: {{ printf "%s/reuse.db" .Values.persistence.mountPath | quote }}
|
||||
- name: REUSE_SURFACE_CACHE_DIR
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
# REUSE_SURFACE_TOKEN is supplied via Secret reuse-surface-env.
|
||||
|
||||
image:
|
||||
tag: "pending-first-build"
|
||||
tag: "ae41395"
|
||||
Reference in New Issue
Block a user