mirror of https://github.com/crossplane/docs.git
docs snapshot for crossplane version `v1.7`
This commit is contained in:
parent
f28952c5b4
commit
c7ba289e6c
|
@ -92,7 +92,7 @@ metadata:
|
||||||
namespace: crossplane-system
|
namespace: crossplane-system
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
credentials: ${BASE64ENCODED_AWS_ACCOUNT_CREDS}
|
creds: ${BASE64ENCODED_AWS_ACCOUNT_CREDS}
|
||||||
---
|
---
|
||||||
apiVersion: aws.crossplane.io/v1beta1
|
apiVersion: aws.crossplane.io/v1beta1
|
||||||
kind: ProviderConfig
|
kind: ProviderConfig
|
||||||
|
@ -104,7 +104,7 @@ spec:
|
||||||
secretRef:
|
secretRef:
|
||||||
namespace: crossplane-system
|
namespace: crossplane-system
|
||||||
name: aws-account-creds
|
name: aws-account-creds
|
||||||
key: credentials
|
key: creds
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# apply it to the cluster:
|
# apply it to the cluster:
|
||||||
|
|
|
@ -228,7 +228,7 @@ metadata:
|
||||||
namespace: ${PROVIDER_SECRET_NAMESPACE}
|
namespace: ${PROVIDER_SECRET_NAMESPACE}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
credentials: ${BASE64ENCODED_GCP_PROVIDER_CREDS}
|
creds: ${BASE64ENCODED_GCP_PROVIDER_CREDS}
|
||||||
---
|
---
|
||||||
apiVersion: gcp.crossplane.io/v1beta1
|
apiVersion: gcp.crossplane.io/v1beta1
|
||||||
kind: ProviderConfig
|
kind: ProviderConfig
|
||||||
|
@ -242,7 +242,7 @@ spec:
|
||||||
secretRef:
|
secretRef:
|
||||||
namespace: ${PROVIDER_SECRET_NAMESPACE}
|
namespace: ${PROVIDER_SECRET_NAMESPACE}
|
||||||
name: gcp-account-creds
|
name: gcp-account-creds
|
||||||
key: credentials
|
key: creds
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# apply it to the cluster:
|
# apply it to the cluster:
|
||||||
|
|
|
@ -90,7 +90,7 @@ spec:
|
||||||
secretRef:
|
secretRef:
|
||||||
namespace: crossplane-system
|
namespace: crossplane-system
|
||||||
name: aws-creds
|
name: aws-creds
|
||||||
key: key
|
key: creds
|
||||||
```
|
```
|
||||||
|
|
||||||
You can see that there is a reference to a key in a specific `Secret`. The value
|
You can see that there is a reference to a key in a specific `Secret`. The value
|
||||||
|
|
|
@ -67,7 +67,7 @@ spec:
|
||||||
secretRef:
|
secretRef:
|
||||||
namespace: crossplane-system
|
namespace: crossplane-system
|
||||||
name: aws-creds
|
name: aws-creds
|
||||||
key: key
|
key: creds
|
||||||
```
|
```
|
||||||
|
|
||||||
If a user desired for these credentials to be used to provision an
|
If a user desired for these credentials to be used to provision an
|
||||||
|
@ -220,7 +220,7 @@ spec:
|
||||||
secretRef:
|
secretRef:
|
||||||
namespace: crossplane-system
|
namespace: crossplane-system
|
||||||
name: team-1-creds
|
name: team-1-creds
|
||||||
key: key
|
key: creds
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Define a `Composition` that patches the name of the Claim reference in the XR
|
2. Define a `Composition` that patches the name of the Claim reference in the XR
|
||||||
|
|
|
@ -45,7 +45,7 @@ fi
|
||||||
|
|
||||||
echo "apiVersion: v1
|
echo "apiVersion: v1
|
||||||
data:
|
data:
|
||||||
key: $AWS_CREDS_BASE64
|
creds: $AWS_CREDS_BASE64
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: aws-creds
|
name: aws-creds
|
||||||
|
|
Loading…
Reference in New Issue