Open davidfox87 opened 2 years ago
base: apiVersion: helm.crossplane.io/v1beta1 kind: ProviderConfig spec: credentials: source: Secret secretRef: namespace: crossplane-system key: kubeconfig patches:
fromFieldPath: metadata.name toFieldPath: metadata.name
fromFieldPath: "metadata.uid" toFieldPath: spec.credentials.secretRef.name transforms:
type: None
fromFieldPath: metadata.name toFieldPath: spec.providerConfigRef.name connectionDetails:
fromConnectionSecretKey: argocd-ip
fromFieldPath: metadata.name toFieldPath: metadata.name
fromFieldPath: "metadata.uid" toFieldPath: spec.credentials.secretRef.name transforms:
type: None
fromFieldPath: metadata.name toFieldPath: spec.providerConfigRef.name
fromFieldPath: "spec.repoURL" toFieldPath: "spec.forProvider.manifest.spec.source.repoURL"
fromFieldPath: "spec.path" toFieldPath: "spec.forProvider.manifest.spec.source.path"
https://github.com/crossplane-contrib/provider-kubernetes/tree/main/examples