This commit is contained in:
2023-03-11 09:59:41 +07:00
parent 881324f08c
commit 5ffd029bee
6 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Secret
metadata:
name: mycluster-secret
namespace: argo-cd
labels:
argocd.argoproj.io/secret-type: cluster
type: Opaque
stringData:
name: mycluster.com
server: https://<rancher.domain.com>/k8s/clusters/<id>
config: |
{
"bearerToken": "<authentication token>",
}