-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds the feature to bootstrap a Talos cluster with ArgoCD using the app-of-apps pattern. ArgoCD, in turn, deploys all the dependencies required by the application and the application itself.
- Loading branch information
1 parent
910fb3a
commit 6938661
Showing
82 changed files
with
1,622 additions
and
671 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
# Default values | ||
BRANCH_NAME="" | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ dist/ | |
|
||
# Unit test reports | ||
TEST*.xml | ||
.coverage | ||
|
||
# Generated by MacOS | ||
.DS_Store | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
formatter: | ||
type: basic | ||
include_document_start: false | ||
drop_merge_tag: true | ||
max_line_length: 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
|
||
extends: default | ||
|
||
rules: | ||
braces: | ||
level: warning | ||
max-spaces-inside: 1 | ||
brackets: | ||
level: warning | ||
max-spaces-inside: 1 | ||
colons: | ||
level: warning | ||
commas: | ||
level: warning | ||
comments: disable | ||
comments-indentation: disable | ||
document-start: disable | ||
empty-lines: | ||
level: warning | ||
hyphens: | ||
level: warning | ||
indentation: | ||
level: warning | ||
indent-sequences: consistent | ||
line-length: | ||
level: warning | ||
allow-non-breakable-inline-mappings: true | ||
truthy: disable |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: argocd | ||
namespace: argocd | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "0" | ||
spec: | ||
project: default | ||
source: | ||
chart: argo-cd | ||
repoURL: https://argoproj.github.io/argo-helm | ||
targetRevision: 6.9.2 | ||
helm: | ||
releaseName: argocd | ||
# https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#traefik-v22 | ||
valuesObject: | ||
configs: | ||
params: | ||
server.insecure: true | ||
destination: | ||
server: "https://kubernetes.default.svc" | ||
namespace: argocd | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true | ||
retry: | ||
limit: 5 | ||
backoff: | ||
duration: 5s | ||
factor: 2 | ||
maxDuration: 3m |
5 changes: 5 additions & 0 deletions
5
{{cookiecutter.project_slug}}/argocd/base/argocd/kustomization.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
namespace: argocd | ||
resources: | ||
- app.yaml | ||
kind: Kustomization |
33 changes: 33 additions & 0 deletions
33
{{cookiecutter.project_slug}}/argocd/base/cert-manager/app.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: cert-manager | ||
namespace: argocd | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "0" | ||
spec: | ||
project: default | ||
source: | ||
chart: cert-manager | ||
repoURL: https://charts.jetstack.io | ||
targetRevision: v1.14.5 | ||
helm: | ||
releaseName: cert-manager | ||
parameters: | ||
- name: "installCRDs" | ||
value: "true" | ||
destination: | ||
server: "https://kubernetes.default.svc" | ||
namespace: cert-manager | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true | ||
retry: | ||
limit: 5 | ||
backoff: | ||
duration: 5s | ||
factor: 2 | ||
maxDuration: 3m | ||
syncOptions: | ||
- CreateNamespace=true |
5 changes: 5 additions & 0 deletions
5
{{cookiecutter.project_slug}}/argocd/base/cert-manager/kustomization.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
namespace: argocd | ||
resources: | ||
- app.yaml | ||
kind: Kustomization |
33 changes: 33 additions & 0 deletions
33
{{cookiecutter.project_slug}}/argocd/base/cloudnative-pg/app.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: cloudnative-pg | ||
namespace: argocd | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "0" | ||
spec: | ||
project: default | ||
source: | ||
chart: cloudnative-pg | ||
repoURL: https://cloudnative-pg.github.io/charts | ||
targetRevision: v0.19.1 | ||
helm: | ||
releaseName: cloudnative-pg | ||
parameters: | ||
- name: "fullnameOverride" | ||
value: "cnpg-controller-manager" | ||
destination: | ||
server: "https://kubernetes.default.svc" | ||
namespace: cnpg-system | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true | ||
retry: | ||
limit: 5 | ||
backoff: | ||
duration: 5s | ||
factor: 2 | ||
maxDuration: 3m | ||
syncOptions: | ||
- CreateNamespace=true |
5 changes: 5 additions & 0 deletions
5
{{cookiecutter.project_slug}}/argocd/base/cloudnative-pg/kustomization.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
namespace: argocd | ||
resources: | ||
- app.yaml | ||
kind: Kustomization |
Oops, something went wrong.