Skip to content

Commit

Permalink
add ServicePackageName to ack-user-config and ack-user secrets (#311)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
acornett21 authored May 3, 2022
1 parent e502fdf commit 52584bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/config/controller/user-env.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
- name: controller
envFrom:
- configMapRef:
name: ack-user-config
name: ack-{{.ServicePackageName}}-user-config
optional: false
- secretRef:
name: ack-user-secrets
name: ack-{{.ServicePackageName}}-user-secrets
optional: false

0 comments on commit 52584bb

Please sign in to comment.