Added infrastructure params for flavour

This commit is contained in:
GeorgeRaven
2025-02-06 22:02:38 +00:00
parent d757202f88
commit 73ea337071
40 changed files with 98 additions and 87 deletions

View File

@@ -30,9 +30,11 @@ spec:
{{- if eq .Values.environment.mode "staging" }}
{{- else if eq .Values.environment.mode "production" }}
{{- end }}
{{- if eq .Values.environment.flavour "talos"}}
spegel:
spegel:
containerdRegistryConfigPath: /etc/cri/conf.d/hosts
containerdRegistryConfigPath: /etc/cri/conf.d/hosts # talos linux specific path for containerd registry config
{{- end }}
#project: spegel
project: default
syncPolicy:

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/argocd
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/auth
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/cert-manager
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/cilium
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: cilium

View File

@@ -21,8 +21,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/cloudflared
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/crossplane-late
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/crossplane-provider
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -21,8 +21,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/crossplane
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/descheduler
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/external-snapshotter
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -21,8 +21,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/foundryvtt
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: foundryvtt

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/gateway-api
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: gateway-api

View File

@@ -21,8 +21,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/ghost
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: ghost

View File

@@ -13,7 +13,7 @@ spec:
source:
path: charts/grafana-operator
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.global.branch }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |-
type: {{ .Values.type }}

View File

@@ -21,8 +21,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/home-assistant
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/jellyfin
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: jellyfin

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/keycloak-late
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -22,8 +22,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/knative-eventing
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -22,8 +22,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/knative-operator
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -22,8 +22,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/knative-serving
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/metrics-server
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -22,8 +22,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/metrics
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/minio-operator
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: minio-operator

View File

@@ -21,8 +21,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/nextcloud
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/node-feature-discovery
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/nvidia-device-plugin
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: nvidia-device-plugin

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/ollama
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: ollama

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/open-webui
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/prometheus
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: kube-prometheus

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/qbittorrent
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: qbittorrent

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/renovate
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: renovate

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/rook
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/sealed-secrets
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -21,8 +21,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/teleport
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |
{{- include "defaultEnvironment" . | indent 8 }}

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/traefik
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
project: default

View File

@@ -12,8 +12,8 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/volsync
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: HEAD
repoURL: {{ .Values.global.repo }}
targetRevision: {{ .Values.environment.revision }}
#helm:
# values: |
#project: volsync

View File

@@ -1,5 +1,4 @@
global:
revision: HEAD
repo: https://gitlab.com/deepcypher/dc-kc.git
# chart specific override for our own meta cert-manager-app.yaml and children
@@ -28,8 +27,9 @@ metallb:
environment:
name: talos # not to be used for hard checks but to display to user
hardware: metal # to be used to enable on-prem specific features like ceph, cilium, etc
flavour: talos # what flavor of k8s is this talos,kubespray,eks,aks,gke,kubeadm
mode: production # to be used to configure backup movement and additional debugging features
revision: main # to be used to pull from different git branches
revision: HEAD # to be used to pull from different git branches
baseDomain: deepcypher.me # to be used to override default chart domains to configure environments
location:
name: unknown # not to be used for hard checks purely informational

View File

@@ -12,13 +12,16 @@ spec:
server: 'https://kubernetes.default.svc'
source:
path: charts/infrastructure
repoURL: 'https://gitlab.com/deepcypher/dc-kc.git'
targetRevision: {{ .Values.global.revision }}
# chart: cluster
repoURL: {{ .Values.infra.repo }}
targetRevision: {{ .Values.environment.revision }}
helm:
values: |-
global:
revision: {{ .Values.global.revision }}
repo: {{ .Values.infra.repo }}
{{- with .Values.environment }}
environment:
{{- toYaml . | nindent 10 }}
{{- end }}
project: default
syncPolicy:
automated:

View File

@@ -1,10 +1,16 @@
argo-cd:
# installCRDs: false
# global:
# image:
# tag: v2.3.3
dex:
enabled: false
environment:
name: talos # not to be used for hard checks but to display to user
hardware: metal # to be used to enable on-prem specific features like ceph, cilium, etc
flavour: talos # what flavor of k8s is this talos,kubespray,eks,aks,gke,kubeadm
mode: production # to be used to configure backup movement and additional debugging features
revision: HEAD # to be used to pull from different git branches
baseDomain: deepcypher.me # to be used to override default chart domains to configure environments
location:
name: unknown # not to be used for hard checks purely informational
contact:
name: George Onoufriou
email: noreply@deepcypher.me
global:
revision: HEAD
infra:
repo: https://gitlab.com/deepcypher/dc-kc.git
path: charts/infrastructure