Created
July 31, 2024 10:05
-
-
Save yazanmonshed/95e4dce9e2f8050e3be9a3fa166cc952 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: argoproj.io/v1alpha1 | |
kind: Cluster | |
metadata: | |
name: my-cluster | |
namespace: argocd | |
spec: | |
server: https://my-cluster-api-server.example.com | |
config: | |
bearerToken: <token> | |
tlsClientConfig: | |
insecure: false | |
caData: <base64-ca-cert> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
argocd cluster add your_k8s_context_name