Squashed 'cluster-config/' content from commit 654f2390
git-subtree-dir: cluster-config git-subtree-split: 654f23903bd1f9a27a4810bd289d165b6cfdbb0c
This commit is contained in:
3
bootstrap/overlays/local/README.md
Normal file
3
bootstrap/overlays/local/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Applications to support my local home lab environment. This isn't limited to my
|
||||
on-prem environment but can also include cloud clusters. This overlay
|
||||
includes items for consistency in my homelab setup such as RBAC, authentication (Keycloak), etc.
|
||||
12
bootstrap/overlays/local/kustomization.yaml
Normal file
12
bootstrap/overlays/local/kustomization.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
helmCharts:
|
||||
- name: argocd-app-of-app
|
||||
version: 0.4.1
|
||||
repo: https://gnunn-gitops.github.io/helm-charts
|
||||
valuesFile: values.yaml
|
||||
namespace: openshift-gitops
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
83
bootstrap/overlays/local/values.yaml
Normal file
83
bootstrap/overlays/local/values.yaml
Normal file
@@ -0,0 +1,83 @@
|
||||
default:
|
||||
app:
|
||||
enabled: true
|
||||
enableAutoSync: true
|
||||
autoSyncPrune: false
|
||||
project: cluster-config
|
||||
labels:
|
||||
app-source: local.hub
|
||||
repo: cluster-config
|
||||
destination:
|
||||
namespace: openshift-gitops
|
||||
server: https://kubernetes.default.svc
|
||||
source:
|
||||
repoURL: https://github.com/gnunn-gitops/cluster-config.git
|
||||
targetRevision: HEAD
|
||||
|
||||
applications:
|
||||
|
||||
authentication:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: '4'
|
||||
destination:
|
||||
namespace: openshift-config
|
||||
source:
|
||||
path: components/oauth/overlays/homelab
|
||||
extraSourceFields: |
|
||||
plugin:
|
||||
name: setenv-cmp-plugin
|
||||
|
||||
cert-manager-operator:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "2"
|
||||
destination:
|
||||
namespace: cert-manager-operator
|
||||
source:
|
||||
path: components/cert-manager-operator/aggregate/overlays/letsencrypt
|
||||
|
||||
certificates:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "3"
|
||||
destination:
|
||||
namespace: cert-manager-operator
|
||||
source:
|
||||
path: components/certificates/base
|
||||
extraSourceFields: |
|
||||
plugin:
|
||||
name: setenv-cmp-plugin
|
||||
|
||||
alertmanager:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: '11'
|
||||
destination:
|
||||
namespace: openshift-monitoring
|
||||
source:
|
||||
path: components/alertmanager/base
|
||||
|
||||
openshift-monitoring:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: '11'
|
||||
destination:
|
||||
namespace: openshift-monitoring
|
||||
source:
|
||||
path: components/openshift-monitoring/base
|
||||
extraSourceFields: |
|
||||
plugin:
|
||||
name: setenv-cmp-plugin
|
||||
# syncOptions:
|
||||
# - RespectIgnoreDifferences=true
|
||||
# extraFields: |
|
||||
# ignoreDifferences:
|
||||
# - group: ""
|
||||
# kind: ConfigMap
|
||||
# jsonPointers:
|
||||
# - /data/config.yaml/prometheusK8s/externalLabels/managed-cluster
|
||||
# name: cluster-monitoring-config
|
||||
# namespace: openshift-monitoring
|
||||
|
||||
rbac:
|
||||
annotations:
|
||||
argocd.argoproj.io/compare-options: IgnoreExtraneous
|
||||
argocd.argoproj.io/sync-wave: '11'
|
||||
source:
|
||||
path: components/rbac/base
|
||||
Reference in New Issue
Block a user