Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add a cluster #38

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions registry/components/clusters/home-k3s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: v1
kind: Secret
metadata:
name: argocd-cluster-home
namespace: argocd
labels:
argocd.argoproj.io/secret-type: cluster
type: Opaque
stringData:
name: home
server: https://k3s-001.clusters.svc.cluster.local:6443
config: |
{
"tlsClientConfig": {
"caData": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkakNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTXpJeE1qUXlOVE13SGhjTk1qUXhNVEl3TVRjek56TXpXaGNOTXpReE1URTRNVGN6TnpNegpXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTXpJeE1qUXlOVE13V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFUTmZ0Nk9KVU96YWtkbXpEOFpTRzZiRkhucmVsU3RTRUlOMnhkcitsTkIKZHRnajl5QnE0R1o0ZGNiV1FHWnVzOFVXb21Ddm5CcDl2T3pDR28wejFqOGlvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVXdZRDIyTTNYNWh0TEFyMWtGQmpjCkZnNFg5Wm93Q2dZSUtvWkl6ajBFQXdJRFJ3Q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GtqT1BRUURBakFqTVNFd0h3WURWUVFEREJock0zTXRZMnhwClpXNTBMV05oUURFM016SXhNalF5TlRNd0hoY05NalF4TVRJd01UY3pOek16V2hjTk16UXhNVEU0TVRjek56TXoKV2pBak1TRXdId1lEVlFRRERCaHJNM010WTJ4cFpXNTBMV05oUURFM016SXhNalF5TlRNd1dUQVRCZ2NxaGtqTwpQUUlCQmdncWhrak9QUU1CQndOQ0FBUUliZlY4a2ZXSkdUVmV2NGtJaCtISlpwOU5UejF1U09QZEpjSFBGMmFqClZ6dTkzclYyWlFYR2t4eTRpc2RCZWNycnl1SHZySWU2aTdubXkyZnhlVFBSbzBJd1FEQU9CZ05WSFE4QkFmOEUKQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVUrdEVzZ3kxNHFYeDBrMStjMUkrSwp0bUNRQzhNd0NnWUlLb1pJemowRUF3SURSd0F3UkFJZ0VUdXBlTDEvQ3l0aFQ3d0h5SEJ2L1VMZjV2cGhyVFlOCjVZdGxFOFZLMTd3Q0lGa1V4RlI4dXdhci90NHVqcGs0eU5FeWxwT3JhcFhNMTN3R0FXTm1JRFQ2Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
"insecure": false,
"keyData": "LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUVpT0FtM21EUGR2emxEUGJBSE5vRm5sVDdLbWtheXdHV0kySFpDalo1MXVvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFa1VlcVFyRUk0WVJxSWlNa2hpV3dCUGg5YWs5V1ljK0ZVaFI3cXh5ejQxbEgwamNTRVl1bgoraEVvektVanVnZW9mdUhhY292QU56RWpBOHhpZkNkSE9BPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo="
}
}
---
apiVersion: v1
kind: Service
metadata:
name: k3s-001
namespace: clusters
annotations:
tailscale.com/tailnet-fqdn: k3s-001.tail30e9d2.ts.net
spec:
externalName: k3s-001
type: ExternalName
5 changes: 5 additions & 0 deletions registry/components/clusters/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- home-k3s.yaml
- namespace.yaml
6 changes: 6 additions & 0 deletions registry/components/clusters/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: clusters
annotations:
argocd.argoproj.io/sync-wave: "-1"
Loading