98 lines
2.8 KiB
YAML
98 lines
2.8 KiB
YAML
|
---
|
||
|
apiVersion: k0s.k0sproject.io/v1beta1
|
||
|
kind: ClusterConfig
|
||
|
metadata:
|
||
|
name: k0s
|
||
|
spec:
|
||
|
|
||
|
api:
|
||
|
sans:
|
||
|
- k8s.smsvc.net
|
||
|
|
||
|
telemetry:
|
||
|
enabled: false
|
||
|
|
||
|
extensions:
|
||
|
helm:
|
||
|
repositories:
|
||
|
- name: argocd
|
||
|
url: https://argoproj.github.io/argo-helm
|
||
|
- name: metallb
|
||
|
url: https://metallb.github.io/metallb
|
||
|
- name: openebs-internal
|
||
|
url: https://openebs.github.io/charts
|
||
|
|
||
|
charts:
|
||
|
- name: openebs
|
||
|
chartname: openebs-internal/openebs
|
||
|
version: 3.10.0 # depName=openebs repoUrl=https://openebs.github.io/charts
|
||
|
namespace: openebs
|
||
|
order: 0
|
||
|
values: |
|
||
|
localprovisioner:
|
||
|
hostpathClass:
|
||
|
enabled: true
|
||
|
isDefaultClass: true
|
||
|
|
||
|
- name: metallb
|
||
|
chartname: metallb/metallb
|
||
|
version: 0.14.8 # depName=metallb repoUrl=https://metallb.github.io/metallb
|
||
|
namespace: metallb
|
||
|
order: 0
|
||
|
|
||
|
- name: argocd
|
||
|
chartname: argocd/argo-cd
|
||
|
version: 7.5.0 # depName=argo-cd repoUrl=https://argoproj.github.io/argo-helm
|
||
|
namespace: argocd
|
||
|
order: 1
|
||
|
values: |
|
||
|
applicationSet:
|
||
|
enabled: false
|
||
|
notifications:
|
||
|
enabled: false
|
||
|
dex:
|
||
|
enabled: false
|
||
|
- name: argocd-apps
|
||
|
chartname: argocd/argocd-apps
|
||
|
version: 2.0.0 # depName=argocd-apps repoUrl=https://argoproj.github.io/argo-helm
|
||
|
namespace: argocd
|
||
|
order: 2
|
||
|
values: |
|
||
|
projects:
|
||
|
baseline:
|
||
|
namespace: argocd
|
||
|
finalizers:
|
||
|
- resources-finalizer.argocd.argoproj.io
|
||
|
sourceRepos:
|
||
|
- '*'
|
||
|
destinations:
|
||
|
- namespace: '*'
|
||
|
server: '*'
|
||
|
clusterResourceWhitelist:
|
||
|
- group: '*'
|
||
|
kind: '*'
|
||
|
applications:
|
||
|
baseline:
|
||
|
project: baseline
|
||
|
finalizers:
|
||
|
- resources-finalizer.argocd.argoproj.io
|
||
|
source:
|
||
|
repoURL: 'https://git.smsvc.net/k8s/baseline.git'
|
||
|
targetRevision: HEAD
|
||
|
path: manifests/
|
||
|
directory:
|
||
|
recurse: true
|
||
|
destination:
|
||
|
server: 'https://kubernetes.default.svc'
|
||
|
namespace: argocd
|
||
|
syncPolicy:
|
||
|
automated:
|
||
|
prune: true
|
||
|
selfHeal: true
|
||
|
retry:
|
||
|
limit: 5
|
||
|
backoff:
|
||
|
duration: 5s
|
||
|
factor: 2
|
||
|
maxDuration: 5m
|