Compare commits

..

No commits in common. "7963e19430ed5eb52c81ef8d762c3ff3d1547379" and "f158ec32396ca9f6709a69794782776aa5a33f6e" have entirely different histories.

2 changed files with 14 additions and 10 deletions

View file

@ -36,13 +36,12 @@ spec:
containers: containers:
- name: goff - name: goff
image: gofeatureflag/go-feature-flag:latest image: gofeatureflag/go-feature-flag:latest
command: command: ["/go-feature-flag", "--config", "/goff/config.yaml"]
- /go-feature-flag
- --config
- /goff/config.yaml
volumeMounts: volumeMounts:
- name: configs - name: config
mountPath: /goff/ mountPath: /goff/config.yaml
- name: default-flags
mountPath: /goff/default-flags.yaml
ports: ports:
- name: http - name: http
protocol: TCP protocol: TCP
@ -64,9 +63,12 @@ spec:
periodSeconds: 10 periodSeconds: 10
terminationGracePeriodSeconds: 1200 terminationGracePeriodSeconds: 1200
volumes: volumes:
- name: configs - name: config
configMap: configMap:
name: goff-configs name: goff-relay-config
- name: default-flags
configMap:
name: default-flags
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1

View file

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