Compare commits

...

7 Commits

Author SHA1 Message Date
06b5b5356f add kube-prometheus-stack 2025-07-08 13:41:41 -05:00
d6f567df68 add local-path-provisioner 2025-07-08 13:30:59 -05:00
8d44915a19 add argo-workflows 2025-07-04 01:45:11 -05:00
1f47c68859 add argo-rollouts 2025-07-04 01:30:32 -05:00
0b1b828c7d add HAProxy 2025-07-02 15:03:27 -05:00
d1049dc4ed traefik 36.3.0 2025-07-02 14:55:54 -05:00
c5022d0224 add ingress-nginx Helm value files 2025-07-02 14:55:54 -05:00
16 changed files with 244 additions and 6 deletions

34
apps/argo-rollouts.yaml Normal file
View File

@@ -0,0 +1,34 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: argo-rollouts
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: production
url: https://kubernetes.default.svc
- cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443
- cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443
template:
metadata:
name: 'argo-rollouts-{{.cluster}}'
spec:
project: default
source:
repoURL: https://git.kill0.net/ryanc/argocd.git
targetRevision: HEAD
path: argo-rollouts
destination:
server: '{{.url}}'
namespace: argo-rollouts
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

34
apps/argo-workflows.yaml Normal file
View File

@@ -0,0 +1,34 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: argo-workflows
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: production
url: https://kubernetes.default.svc
- cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443
- cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443
template:
metadata:
name: 'argo-workflows-{{.cluster}}'
spec:
project: default
source:
repoURL: https://git.kill0.net/ryanc/argocd.git
targetRevision: HEAD
path: argo-workflows
destination:
server: '{{.url}}'
namespace: argo
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

40
apps/haproxy.yaml Normal file
View File

@@ -0,0 +1,40 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: haproxy-kubernetes-ingress
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: production
url: https://kubernetes.default.svc
- cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443
- cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443
template:
metadata:
name: 'haproxy-kubernetes-ingress-{{.cluster}}'
spec:
project: default
source:
path: haproxy-kubernetes-ingress
repoURL: https://git.kill0.net/ryanc/argocd.git
targetRevision: HEAD
helm:
releaseName: haproxy-kubernetes-ingress
valueFiles:
- values.yaml
- values-{{.cluster}}.yaml
ignoreMissingValueFiles: true
destination:
server: '{{.url}}'
namespace: haproxy-controller
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -23,11 +23,15 @@ spec:
spec: spec:
project: default project: default
source: source:
chart: ingress-nginx path: ingress-nginx
repoURL: https://kubernetes.github.io/ingress-nginx repoURL: https://git.kill0.net/ryanc/argocd.git
targetRevision: '{{.chart}}' targetRevision: HEAD
helm: helm:
releaseName: ingress-nginx releaseName: ingress-nginx
valueFiles:
- values.yaml
- values-{{.cluster}}.yaml
ignoreMissingValueFiles: true
destination: destination:
server: '{{.url}}' server: '{{.url}}'
namespace: ingress-nginx namespace: ingress-nginx

View File

@@ -0,0 +1,43 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: kube-prometheus-stack
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: production
url: https://kubernetes.default.svc
chart: 4.11.7
- cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443
chart: 4.11.7
- cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443
chart: 4.11.7
template:
metadata:
name: 'kube-prometheus-stack-{{.cluster}}'
spec:
project: default
source:
path: kube-prometheus-stack
repoURL: https://git.kill0.net/ryanc/argocd.git
targetRevision: HEAD
helm:
releaseName: kube-prometheus-stack
valueFiles:
- values.yaml
- values-{{.cluster}}.yaml
ignoreMissingValueFiles: true
destination:
server: '{{.url}}'
namespace: kube-prometheus-stack
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,33 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: local-path-provisioner
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: production
url: https://kubernetes.default.svc
- cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443
- cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443
template:
metadata:
name: 'local-path-provisioner-{{.cluster}}'
spec:
project: default
source:
repoURL: https://git.kill0.net/ryanc/argocd.git
targetRevision: HEAD
path: local-path-provisioner
destination:
server: '{{.url}}'
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -10,13 +10,13 @@ spec:
elements: elements:
- cluster: production - cluster: production
url: https://kubernetes.default.svc url: https://kubernetes.default.svc
chart: 36.2.0 chart: 36.3.0
- cluster: staging - cluster: staging
url: https://k3s-ctrl-lb.lab.kill0.net:6443 url: https://k3s-ctrl-lb.lab.kill0.net:6443
chart: 36.2.0 chart: 36.3.0
- cluster: development - cluster: development
url: https://k0s-ctrl-vip.lab.kill0.net:6443 url: https://k0s-ctrl-vip.lab.kill0.net:6443
chart: 36.2.0 chart: 36.3.0
template: template:
metadata: metadata:
name: 'traefik-{{.cluster}}' name: 'traefik-{{.cluster}}'

View File

@@ -0,0 +1,4 @@
---
resources:
- github.com/argoproj/argo-rollouts//manifests/cluster-install?ref=v1.8.3
- github.com/argoproj/argo-rollouts//manifests/dashboard-install?ref=v1.8.3

View File

@@ -0,0 +1,3 @@
---
resources:
- github.com/argoproj/argo-workflows//manifests/cluster-install?ref=v3.6.10

View File

@@ -0,0 +1,9 @@
---
apiVersion: v2
name: haproxy-kubernetes-ingress
version: "1.0.0"
dependencies:
- name: kubernetes-ingress
version: 1.24.0
repository: https://haproxytech.github.io/helm-charts

9
ingress-nginx/Chart.yaml Normal file
View File

@@ -0,0 +1,9 @@
---
apiVersion: v2
name: ingress-nginx
version: "1.0.0"
dependencies:
- name: ingress-nginx
version: 4.12.3
repository: https://kubernetes.github.io/ingress-nginx

View File

@@ -0,0 +1,6 @@
---
ingress-nginx:
controller:
replicaCount: 3
addHeaders:
x-fart: pooooot

View File

@@ -0,0 +1,6 @@
---
ingress-nginx:
controller:
replicaCount: 3
addHeaders:
x-fart: frrrrrp

View File

@@ -0,0 +1 @@
---

View File

@@ -0,0 +1,9 @@
---
apiVersion: v2
name: kube-prometheus-stack
version: "1.0.0"
dependencies:
- name: kube-prometheus-stack
version: 75.9.0
repository: https://prometheus-community.github.io/helm-charts

View File

@@ -0,0 +1,3 @@
---
resources:
- github.com/rancher/local-path-provisioner//deploy?ref=v0.0.31