chore(goff): adjust config file injection

This commit is contained in:
David Landry 2024-09-04 15:53:57 -04:00
parent 4ea008de7a
commit 7963e19430
2 changed files with 6 additions and 13 deletions

View file

@ -41,10 +41,8 @@ spec:
- --config
- /goff/config.yaml
volumeMounts:
- name: config
mountPath: /goff/config.yaml
- name: default-flags
mountPath: /goff/default-flags.yaml
- name: configs
mountPath: /goff/
ports:
- name: http
protocol: TCP
@ -66,12 +64,9 @@ spec:
periodSeconds: 10
terminationGracePeriodSeconds: 1200
volumes:
- name: config
- name: configs
configMap:
name: goff-relay-config
- name: default-flags
configMap:
name: default-flags
name: goff-configs
---
apiVersion: networking.k8s.io/v1

View file

@ -3,9 +3,7 @@ kind: Kustomization
resources:
- deployment.yaml
configMapGenerator:
- name: goff-relay-config
files:
- relay-config.yaml
- name: default-flags
- name: goff-configs
files:
- config.yaml=relay-config.yaml
- default-flags.yaml