provider-gcp
provider-gcp copied to clipboard
connect failed: cannot create new Sqladmin Service: unexpected end of JSON input
What happened?
- installed crossplane v1.8.0 & provider-gcp v0.21.0
- created MySQLInstance claim in namespace
- get the following on CloudSQLInstance
Status:
At Provider:
Conditions:
Last Transition Time: 2022-07-27T13:15:04Z
Message: connect failed: cannot create new Sqladmin Service: unexpected end of JSON input
Reason: ReconcileError
Status: False
Type: Synced
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning CannotConnectToProvider 15s (x9 over 2m44s) managed/cloudsqlinstance.database.gcp.crossplane.io cannot create new Sqladmin Service: unexpected end of JSON input
Details:
apiVersion: database.gcp.crossplane.io/v1beta1
kind: CloudSQLInstance
metadata:
name: test-crossplane
spec:
forProvider:
databaseVersion: POSTGRES_11
region: eu-west1
settings:
tier: db-custom-1-3840
dataDiskSizeGb: 20
providerConfigRef:
name: gcp-provider-config
writeConnectionSecretToRef:
name: test-connection
namespace: crossplane-system