karmada/artifacts/example/cr_cluster.yaml

28 lines
478 B
YAML

apiVersion: cluster.karmada.io/v1alpha1
kind: Cluster
metadata:
name: cluster-foo
namespace: karmada-cluster
spec:
manageMode: Delegation
accepted: true
apiEndpoint: https://10.10.10.10:6339
secretRef:
namespace: karmada-cluster
name: secret-foo
provider: huaweicloud
region: ap-southeast-1
zone: az-1
---
apiVersion: v1
kind: Secret
metadata:
name: secret-foo
namespace: karmada-cluster
type: Opaque
stringData:
token: dummy
caBundle: dummy