Compare commits

...

2 commits

Author SHA1 Message Date
David Landry
7963e19430 chore(goff): adjust config file injection 2024-09-04 15:53:57 -04:00
David Landry
4ea008de7a fix(goff): try adjusting commands 2024-09-04 15:50:01 -04:00
2 changed files with 10 additions and 14 deletions

View file

@ -36,12 +36,13 @@ spec:
containers: containers:
- name: goff - name: goff
image: gofeatureflag/go-feature-flag:latest image: gofeatureflag/go-feature-flag:latest
command: ["/go-feature-flag", "--config", "/goff/config.yaml"] command:
- /go-feature-flag
- --config
- /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
@ -63,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

View file

@ -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