-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcredentials.example.yaml
More file actions
76 lines (76 loc) · 1.92 KB
/
Copy pathcredentials.example.yaml
File metadata and controls
76 lines (76 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Example credential Secrets. Apply these in the same namespace as the
# SandboxTemplate, Sandbox, or SandboxClaim that references them.
#
# The default OpenAPI Secret name is configured by
# DEFAULT_OPENAPI_CREDENTIAL_SECRET in sandbox-operator-config. CRs can override
# it with spec.openapiCredentialRef.name.
apiVersion: v1
kind: Secret
metadata:
name: sandbox-openapi-credentials
namespace: default
type: Opaque
stringData:
accessKeyId: "<OPENAPI_ACCESS_KEY_ID>"
secretAccessKey: "<OPENAPI_SECRET_ACCESS_KEY>"
accountId: "<ACCOUNT_ID>"
region: "cn-beijing-6"
---
# KS3 mount credential. Reference it from:
# spec.template.spec.volumes[].ks3.credentialRef.name
apiVersion: v1
kind: Secret
metadata:
name: ks3-credential
namespace: default
type: Opaque
stringData:
accessKey: "<KS3_ACCESS_KEY_ID>"
secretAccessKey: "<KS3_SECRET_ACCESS_KEY>"
token: ""
---
# KPFS mount credential. Reference it from:
# spec.template.spec.volumes[].kpfs.credentialRef.name
apiVersion: v1
kind: Secret
metadata:
name: kpfs-credential
namespace: default
type: Opaque
stringData:
accessKey: "<KPFS_ACCESS_KEY_ID>"
secretAccessKey: "<KPFS_SECRET_ACCESS_KEY>"
token: ""
---
# Klog credential. Reference it from:
# spec.template.spec.observability.logging.credentialRef.name
apiVersion: v1
kind: Secret
metadata:
name: klog-credential
namespace: default
type: Opaque
stringData:
accessKey: "<KLOG_ACCESS_KEY_ID>"
secretAccessKey: "<KLOG_SECRET_ACCESS_KEY>"
token: ""
---
# Image registry credential. Reference it from:
# spec.template.spec.image.registryCredentialRef.name
apiVersion: v1
kind: Secret
metadata:
name: image-credential
namespace: default
type: kubernetes.io/dockerconfigjson
stringData:
.dockerconfigjson: |
{
"auths": {
"hub.kce.ksyun.com": {
"username": "<REGISTRY_USERNAME>",
"password": "<REGISTRY_PASSWORD>",
"auth": "<BASE64_USERNAME_COLON_PASSWORD>"
}
}
}