feat(dispatch) add secretref for each module
This commit is contained in:
parent
72b7a58a4a
commit
542a00b1b8
5 changed files with 10 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
apiVersion: v2
|
||||
name: dispatch
|
||||
description: Netflix Dispatch incident management system
|
||||
version: 0.1.4
|
||||
version: 0.1.5
|
|
@ -29,4 +29,4 @@ spec:
|
|||
- configMapRef:
|
||||
name: {{ include "dispatch.fullname" . }}-config
|
||||
- secretRef:
|
||||
name: {{ .Values.postgres.secretRef.name }}
|
||||
name: {{ .Values.core.secretRef.name }}
|
|
@ -23,4 +23,4 @@ spec:
|
|||
- configMapRef:
|
||||
name: {{ include "dispatch.fullname" . }}-config
|
||||
- secretRef:
|
||||
name: {{ .Values.postgres.secretRef.name }}
|
||||
name: {{ .Values.scheduler.secretRef.name }}
|
|
@ -29,4 +29,4 @@ spec:
|
|||
- configMapRef:
|
||||
name: {{ include "dispatch.fullname" . }}-config
|
||||
- secretRef:
|
||||
name: {{ .Values.postgres.secretRef.name }}
|
||||
name: {{ .Values.web.secretRef.name }}
|
|
@ -13,19 +13,23 @@ initContainers:
|
|||
name: dispatch-secret
|
||||
|
||||
core:
|
||||
container:
|
||||
command: []
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
|
||||
web:
|
||||
container:
|
||||
port: 8000
|
||||
command: ["dispatch", "server", "start", "dispatch.main:app", "--host=0.0.0.0"]
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
|
||||
scheduler:
|
||||
command: ["dispatch", "scheduler", "start"]
|
||||
secretRef:
|
||||
name: dispatch-secret
|
||||
|
||||
postgres:
|
||||
hostname: "postgres-rw.databases.svc.cluster.local"
|
||||
|
|
Loading…
Reference in a new issue