Closed callum-stakater closed 10 months ago
worked it out:
kubectl -n crossplane create secret generic provider-confluent-secret --from-literal=credentials='{"cloud_api_key":"$API_KEY", "cloud_api_secret":"$API_SECRET"}' --dry-run=client -o yaml
worked it out:
kubectl -n crossplane create secret generic provider-confluent-secret --from-literal=credentials='{"cloud_api_key":"$API_KEY", "cloud_api_secret":"$API_SECRET"}' --dry-run=client -o yaml
Yup you got it! :)
kind: Secret
metadata:
name: confluent-provider-config
namespace: crossplane-system
data:
credentials: '{"cloud_api_key":"$API_KEY", "cloud_api_secret":"$API_SECRET"}'
Any hints on how the credentials need to be structured to make this provider work?
I found this https://github.com/crossplane-contrib/provider-confluent/blob/main/cluster/test/setup.sh#L6 but its a bit of a guessing game what is contained in : "${UPTEST_CLOUD_CREDENTIALS}"