Skip to content

Commit

Permalink
fix: set claim-name to match metadata.name
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic committed Oct 21, 2024
1 parent 2cd6f83 commit bcc3f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grafanaplane/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ local raw = import './raw.libsonnet';
+ raw.cloud.v1alpha1.stackServiceAccount.spec.parameters.forProvider.withName('crossplaneManagementKey')
+ raw.cloud.v1alpha1.stackServiceAccount.spec.parameters.forProvider.withRole('Admin')
+ raw.cloud.v1alpha1.stackServiceAccount.spec.parameters.forProvider.cloudStackSelector.withMatchLabels({
'crossplane.io/claim-name': stackResource.spec.parameters.forProvider.name,
'crossplane.io/claim-name': stackResource.metadata.name,
'crossplane.io/claim-namespace': namespace,
})
+ raw.cloud.v1alpha1.stackServiceAccount.spec.parameters.withProviderConfigRef(
Expand All @@ -113,7 +113,7 @@ local raw = import './raw.libsonnet';
+ raw.cloud.v1alpha1.stackServiceAccountToken.spec.parameters.writeConnectionSecretToRef.withName(secretName)
+ raw.cloud.v1alpha1.stackServiceAccountToken.spec.parameters.writeConnectionSecretToRef.withNamespace(namespace)
+ raw.cloud.v1alpha1.stackServiceAccountToken.spec.parameters.forProvider.serviceAccountSelector.withMatchLabels({
'crossplane.io/claim-name': stackServiceAccountResource.spec.parameters.forProvider.name,
'crossplane.io/claim-name': stackServiceAccountResource.metadata.name,
'crossplane.io/claim-namespace': namespace,
})
+ raw.cloud.v1alpha1.stackServiceAccountToken.spec.parameters.forProvider.withCloudStackSelector(
Expand Down

0 comments on commit bcc3f73

Please sign in to comment.