Skip to content

Commit 2f830e7

Browse files
committed
feat: set the name of the injected secret to include a variable.
1 parent 4927074 commit 2f830e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/nextdnsprofile/composition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
body: ""
7575
secretInjectionConfigs:
7676
- secretRef:
77-
name: nextdns-profile-config
77+
name: {{ .observed.composite.resource.spec.name | lower }}-nextdns-config
7878
namespace: {{ .observed.composite.resource.metadata.namespace | default "crossplane-system" }}
7979
keyMappings:
8080
- secretKey: profile-id

0 commit comments

Comments
 (0)