Skip to content

Commit 52584bb

Browse files
authored
add ServicePackageName to ack-user-config and ack-user secrets (#311)
Issue #, if available: - Fixes: aws-controllers-k8s/community#1149 Description of changes: Add in support for service specific configmaps and secret so that a cluster admin can configure each service differently, or the same if they so choose. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: Adam D. Cornett <adc@redhat.com>
1 parent e502fdf commit 52584bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/config/controller/user-env.yaml.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ spec:
1010
- name: controller
1111
envFrom:
1212
- configMapRef:
13-
name: ack-user-config
13+
name: ack-{{.ServicePackageName}}-user-config
1414
optional: false
1515
- secretRef:
16-
name: ack-user-secrets
16+
name: ack-{{.ServicePackageName}}-user-secrets
1717
optional: false

0 commit comments

Comments
 (0)