diff --git a/config/samples/resource_v1alpha1_streamnativecloudconnection.yaml b/config/samples/resource_v1alpha1_streamnativecloudconnection.yaml index a782a820..076607ca 100644 --- a/config/samples/resource_v1alpha1_streamnativecloudconnection.yaml +++ b/config/samples/resource_v1alpha1_streamnativecloudconnection.yaml @@ -23,19 +23,3 @@ spec: credentialsRef: name: test-credentials organization: org ---- -apiVersion: v1 -kind: Secret -metadata: - name: test-credentials - namespace: default -type: Opaque -data: - credentials.json: | - { - "type": "sn_service_account", - "client_secret": "client_secret", - "client_email": "client-email", - "issuer_url": "issuer_url", - "client_id": "client-id" - } diff --git a/docs/streamnative_cloud_connection.md b/docs/streamnative_cloud_connection.md index 56a0ddea..92aaa77c 100644 --- a/docs/streamnative_cloud_connection.md +++ b/docs/streamnative_cloud_connection.md @@ -48,7 +48,7 @@ metadata: name: test-credentials namespace: default type: Opaque -data: +stringData: credentials.json: | { "type": "sn_service_account", @@ -112,4 +112,4 @@ To delete a StreamNativeCloudConnection resource: kubectl delete streamnativecloudconnection test-connection ``` -Note that deleting the connection will affect any resources that depend on it, such as ComputeWorkspaces or ComputeFlinkDeployments. \ No newline at end of file +Note that deleting the connection will affect any resources that depend on it, such as ComputeWorkspaces or ComputeFlinkDeployments.