Skip to content

Instantly share code, notes, and snippets.

@yazanmonshed
Created July 31, 2024 10:05
Show Gist options
  • Save yazanmonshed/95e4dce9e2f8050e3be9a3fa166cc952 to your computer and use it in GitHub Desktop.
Save yazanmonshed/95e4dce9e2f8050e3be9a3fa166cc952 to your computer and use it in GitHub Desktop.
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>
@yazanmonshed
Copy link
Author

argocd cluster add your_k8s_context_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment