From 49bce3b9ee3ddcf9734962ddbcc4a0bc3660a783 Mon Sep 17 00:00:00 2001 From: GeorgeRaven Date: Tue, 4 Oct 2022 22:23:40 +0100 Subject: [PATCH] Moved everything except most basic init to cluster --- .NVCHECKER | 5 ++++ charts/cluster/.helmignore | 23 ++++++++++++++ charts/cluster/Chart.lock | 6 ++++ charts/cluster/Chart.yaml | 30 +++++++++++++++++++ charts/{init => cluster}/templates/aoa.yaml | 0 .../templates/cert-manager.yaml | 0 .../templates/ingress-nginx.yaml | 0 .../{init => cluster}/templates/metallb.yaml | 0 .../templates/metrics-server.yaml | 0 charts/cluster/values.yaml | 18 +++++++++++ 10 files changed, 82 insertions(+) create mode 100644 .NVCHECKER create mode 100644 charts/cluster/.helmignore create mode 100644 charts/cluster/Chart.lock create mode 100644 charts/cluster/Chart.yaml rename charts/{init => cluster}/templates/aoa.yaml (100%) rename charts/{init => cluster}/templates/cert-manager.yaml (100%) rename charts/{init => cluster}/templates/ingress-nginx.yaml (100%) rename charts/{init => cluster}/templates/metallb.yaml (100%) rename charts/{init => cluster}/templates/metrics-server.yaml (100%) create mode 100644 charts/cluster/values.yaml diff --git a/.NVCHECKER b/.NVCHECKER new file mode 100644 index 00000000..88521a39 --- /dev/null +++ b/.NVCHECKER @@ -0,0 +1,5 @@ +[kubeadm] +source = "regex" +regex = "v.+" +url = "https://storage.googleapis.com/kubernetes-release/release/stable.txt" +prefix = "v" diff --git a/charts/cluster/.helmignore b/charts/cluster/.helmignore new file mode 100644 index 00000000..0e8a0eb3 --- /dev/null +++ b/charts/cluster/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/cluster/Chart.lock b/charts/cluster/Chart.lock new file mode 100644 index 00000000..d6b173c2 --- /dev/null +++ b/charts/cluster/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: argo-cd + repository: https://argoproj.github.io/argo-helm/ + version: 5.5.6 +digest: sha256:eeca405e92821e469abe729b69a8d43879155260d2fc747417d121ba509d15e8 +generated: "2022-09-30T09:26:37.987152928+01:00" diff --git a/charts/cluster/Chart.yaml b/charts/cluster/Chart.yaml new file mode 100644 index 00000000..2fcc1d1c --- /dev/null +++ b/charts/cluster/Chart.yaml @@ -0,0 +1,30 @@ +apiVersion: v2 +name: argo-cd +description: A Helm chart for ArgoCD towards Kubernetes automation + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.1 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "v2.3.3" + +dependencies: + - name: argo-cd + version: 5.5.6 + repository: https://argoproj.github.io/argo-helm/ +# https://www.arthurkoziel.com/setting-up-argocd-with-helm/ diff --git a/charts/init/templates/aoa.yaml b/charts/cluster/templates/aoa.yaml similarity index 100% rename from charts/init/templates/aoa.yaml rename to charts/cluster/templates/aoa.yaml diff --git a/charts/init/templates/cert-manager.yaml b/charts/cluster/templates/cert-manager.yaml similarity index 100% rename from charts/init/templates/cert-manager.yaml rename to charts/cluster/templates/cert-manager.yaml diff --git a/charts/init/templates/ingress-nginx.yaml b/charts/cluster/templates/ingress-nginx.yaml similarity index 100% rename from charts/init/templates/ingress-nginx.yaml rename to charts/cluster/templates/ingress-nginx.yaml diff --git a/charts/init/templates/metallb.yaml b/charts/cluster/templates/metallb.yaml similarity index 100% rename from charts/init/templates/metallb.yaml rename to charts/cluster/templates/metallb.yaml diff --git a/charts/init/templates/metrics-server.yaml b/charts/cluster/templates/metrics-server.yaml similarity index 100% rename from charts/init/templates/metrics-server.yaml rename to charts/cluster/templates/metrics-server.yaml diff --git a/charts/cluster/values.yaml b/charts/cluster/values.yaml new file mode 100644 index 00000000..7e5a6b50 --- /dev/null +++ b/charts/cluster/values.yaml @@ -0,0 +1,18 @@ +argo-cd: + # installCRDs: false + #global: + # image: + # tag: v2.4.12 + dex: + enabled: false + # server: + # extraArgs: + # - --insecure + # config: + # repositories: | + # - type: helm + # name: stable + # url: https://charts.helm.sh/stable + # - type: helm + # name: argo-cd + # url: https://argoproj.github.io/argo-helm