chore(goff): adjust config file injection
This commit is contained in:
parent
4ea008de7a
commit
7963e19430
2 changed files with 6 additions and 13 deletions
|
|
@ -41,10 +41,8 @@ spec:
|
||||||
- --config
|
- --config
|
||||||
- /goff/config.yaml
|
- /goff/config.yaml
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: configs
|
||||||
mountPath: /goff/config.yaml
|
mountPath: /goff/
|
||||||
- name: default-flags
|
|
||||||
mountPath: /goff/default-flags.yaml
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
@ -66,12 +64,9 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
terminationGracePeriodSeconds: 1200
|
terminationGracePeriodSeconds: 1200
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: configs
|
||||||
configMap:
|
configMap:
|
||||||
name: goff-relay-config
|
name: goff-configs
|
||||||
- name: default-flags
|
|
||||||
configMap:
|
|
||||||
name: default-flags
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,7 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: goff-relay-config
|
- name: goff-configs
|
||||||
files:
|
|
||||||
- relay-config.yaml
|
|
||||||
- name: default-flags
|
|
||||||
files:
|
files:
|
||||||
|
- config.yaml=relay-config.yaml
|
||||||
- default-flags.yaml
|
- default-flags.yaml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue