Service Configuration
Deploying our services
Server-side feature flags
const sut = service('api')
.namespace('test')
.image('test')
.env({
B: 'A',
})
.features({
'integration-A': {
env: {
A: {
dev: 'B1',
staging: 'B',
prod: MissingSetting, // this allows us to specify that we still do not know that the value is
},
},
secrets: { KEY: '/k8s/secret' },
},
})
.initContainer({
containers: [{ command: 'go' }],
features: {
'integration-A': {
env: {
C: 'D',
},
secrets: {
INIT: '/a/b/c',
},
},
},
})Turning the features on and off
Using the features in the code
Cleaning up
Last updated
Was this helpful?