Compare commits
2 commits
f158ec3239
...
7963e19430
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7963e19430 | ||
|
|
4ea008de7a |
2 changed files with 10 additions and 14 deletions
|
|
@ -36,12 +36,13 @@ spec:
|
|||
containers:
|
||||
- name: goff
|
||||
image: gofeatureflag/go-feature-flag:latest
|
||||
command: ["/go-feature-flag", "--config", "/goff/config.yaml"]
|
||||
command:
|
||||
- /go-feature-flag
|
||||
- --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
|
||||
|
|
@ -63,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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue