Skip to content

Commit e1333fd

Browse files
authored
docs(samples): remove k8s Secret from alm-examples and use stringData in docs (#345)
1 parent 607aa69 commit e1333fd

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

config/samples/resource_v1alpha1_streamnativecloudconnection.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,3 @@ spec:
2323
credentialsRef:
2424
name: test-credentials
2525
organization: org
26-
---
27-
apiVersion: v1
28-
kind: Secret
29-
metadata:
30-
name: test-credentials
31-
namespace: default
32-
type: Opaque
33-
data:
34-
credentials.json: |
35-
{
36-
"type": "sn_service_account",
37-
"client_secret": "client_secret",
38-
"client_email": "client-email",
39-
"issuer_url": "issuer_url",
40-
"client_id": "client-id"
41-
}

docs/streamnative_cloud_connection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ metadata:
4848
name: test-credentials
4949
namespace: default
5050
type: Opaque
51-
data:
51+
stringData:
5252
credentials.json: |
5353
{
5454
"type": "sn_service_account",
@@ -112,4 +112,4 @@ To delete a StreamNativeCloudConnection resource:
112112
kubectl delete streamnativecloudconnection test-connection
113113
```
114114

115-
Note that deleting the connection will affect any resources that depend on it, such as ComputeWorkspaces or ComputeFlinkDeployments.
115+
Note that deleting the connection will affect any resources that depend on it, such as ComputeWorkspaces or ComputeFlinkDeployments.

0 commit comments

Comments
 (0)