mirror of https://github.com/crossplane/docs.git
docs snapshot for crossplane version `master`
This commit is contained in:
parent
01d89514f2
commit
08a08ca09a
|
@ -92,7 +92,7 @@ metadata:
|
|||
namespace: crossplane-system
|
||||
type: Opaque
|
||||
data:
|
||||
credentials: ${BASE64ENCODED_AWS_ACCOUNT_CREDS}
|
||||
creds: ${BASE64ENCODED_AWS_ACCOUNT_CREDS}
|
||||
---
|
||||
apiVersion: aws.crossplane.io/v1beta1
|
||||
kind: ProviderConfig
|
||||
|
@ -104,7 +104,7 @@ spec:
|
|||
secretRef:
|
||||
namespace: crossplane-system
|
||||
name: aws-account-creds
|
||||
key: credentials
|
||||
key: creds
|
||||
EOF
|
||||
|
||||
# apply it to the cluster:
|
||||
|
|
|
@ -228,7 +228,7 @@ metadata:
|
|||
namespace: ${PROVIDER_SECRET_NAMESPACE}
|
||||
type: Opaque
|
||||
data:
|
||||
credentials: ${BASE64ENCODED_GCP_PROVIDER_CREDS}
|
||||
creds: ${BASE64ENCODED_GCP_PROVIDER_CREDS}
|
||||
---
|
||||
apiVersion: gcp.crossplane.io/v1beta1
|
||||
kind: ProviderConfig
|
||||
|
@ -242,7 +242,7 @@ spec:
|
|||
secretRef:
|
||||
namespace: ${PROVIDER_SECRET_NAMESPACE}
|
||||
name: gcp-account-creds
|
||||
key: credentials
|
||||
key: creds
|
||||
EOF
|
||||
|
||||
# apply it to the cluster:
|
||||
|
|
|
@ -90,7 +90,7 @@ spec:
|
|||
secretRef:
|
||||
namespace: crossplane-system
|
||||
name: aws-creds
|
||||
key: key
|
||||
key: creds
|
||||
```
|
||||
|
||||
You can see that there is a reference to a key in a specific `Secret`. The value
|
||||
|
@ -165,4 +165,4 @@ will attempt to use a `ProviderConfig` named `default`.
|
|||
[provider-styra]: https://github.com/crossplane-contrib/provider-styra
|
||||
[provider-styra-api]: https://doc.crds.dev/github.com/crossplane-contrib/provider-styra
|
||||
[provider-cloudflare]: https://github.com/crossplane-contrib/provider-cloudflare
|
||||
[provider-cloudflare-api]: https://doc.crds.dev/github.com/crossplane-contrib/provider-cloudflare
|
||||
[provider-cloudflare-api]: https://doc.crds.dev/github.com/crossplane-contrib/provider-cloudflare
|
||||
|
|
|
@ -67,7 +67,7 @@ spec:
|
|||
secretRef:
|
||||
namespace: crossplane-system
|
||||
name: aws-creds
|
||||
key: key
|
||||
key: creds
|
||||
```
|
||||
|
||||
If a user desired for these credentials to be used to provision an
|
||||
|
@ -220,7 +220,7 @@ spec:
|
|||
secretRef:
|
||||
namespace: crossplane-system
|
||||
name: team-1-creds
|
||||
key: key
|
||||
key: creds
|
||||
```
|
||||
|
||||
2. Define a `Composition` that patches the namespace of the Claim reference in the XR
|
||||
|
|
|
@ -45,9 +45,9 @@ fi
|
|||
|
||||
echo "apiVersion: v1
|
||||
data:
|
||||
key: $AWS_CREDS_BASE64
|
||||
creds: $AWS_CREDS_BASE64
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: aws-creds
|
||||
namespace: crossplane-system
|
||||
type: Opaque" | kubectl apply -f -
|
||||
type: Opaque" | kubectl apply -f -
|
||||
|
|
Loading…
Reference in New Issue