Work in progress

This commit is contained in:
Nikolai Rodionov 2024-04-23 20:49:30 +02:00
parent 412a04301b
commit 04206a9e35
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
11 changed files with 229 additions and 76 deletions

View File

View File

@ -42,10 +42,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
args: args:
- serve - serve
- --reflection - --reflection
- --smtp-host=badhouseplants.net
- --smtp-password='NCzs2fK8Gh5rAWxGte%!K54T7'
- --smtp-from=allanger@badhouseplants.net
ports: ports:
- name: http - name: http
containerPort: {{ .Values.service.port }} containerPort: {{ .Values.service.port }}

View File

@ -41,6 +41,8 @@ spec:
- x-accept-response-streaming - x-accept-response-streaming
- x-user-agent - x-user-agent
- x-grpc-web - x-grpc-web
- token
- uuid
maxAge: 1728s maxAge: 1728s
exposeHeaders: exposeHeaders:
- grpc-status - grpc-status

View File

@ -17,6 +17,7 @@ serviceAccount:
deployAnnotations: deployAnnotations:
keel.sh/policy: force keel.sh/policy: force
keel.sh/trigger: poll
podLabels: {} podLabels: {}
podSecurityContext: podSecurityContext:

View File

@ -17,6 +17,7 @@ serviceAccount:
deployAnnotations: deployAnnotations:
keel.sh/policy: force keel.sh/policy: force
keel.sh/trigger: poll
podLabels: {} podLabels: {}

59
common/helmfile.yaml Normal file
View File

@ -0,0 +1,59 @@
repositories:
- name: zot
url: git.badhouseplants.net/softplayer/helm
oci: true
releases:
- name: namespaces
namespace: kube-system
createNamespace: false
chart: ../charts/namespaces
values:
- ./values/namespaces.yaml
- name: coredns
chart: zot/coredns
version: 1.29.0
namespace: kube-system
values:
- ./values/coredns.yaml
- name: cilium
chart: zot/cilium
installed: true
version: 1.15.4
namespace: kube-system
needs:
- kube-system/coredns
values:
- ./values/cilium.yaml
- name: metrics-server
chart: zot/metrics-server
version: 3.12.1
namespace: kube-system
needs:
- kube-system/coredns
- kube-system/cilium
values:
- ./values/metrics-server.yaml
- name: cert-manager
chart: zot/cert-manager
version: v1.14.4
namespace: cert-manager
needs:
- kube-system/namespaces
- kube-system/coredns
values:
- ./values/cert-mangager.yaml
- name: metallb
chart: metallb/metallb
version: 0.14.3
namespace: metallb-system
createNamespace: false
needs:
- kube-system/namespaces
- kube-system/coredns
- kube-system/cilium

111
helmule/helmule.yaml Normal file
View File

@ -0,0 +1,111 @@
repositories:
- name: cdf
helm:
url: https://cdfoundation.github.io/tekton-helm-chart/
- name: istio
helm:
url: https://istio-release.storage.googleapis.com/charts
- name: metrics-server
helm:
url: https://kubernetes-sigs.github.io/metrics-server/
- name: jetstack
helm:
url: https://charts.jetstack.io
- name: longhorn
helm:
url: https://charts.longhorn.io
- name: metallb
helm:
url: https://metallb.github.io/metallb
- name: coredns
helm:
url: https://coredns.github.io/helm
- name: cilium
helm:
url: https://helm.cilium.io/
- name: traefik
helm:
url: https://traefik.github.io/charts
- name: flannel
helm:
url: https://flannel-io.github.io/flannel/
- name: rancher-local-path
git:
url: https://github.com/rancher/local-path-provisioner.git
git_ref: main
path: deploy/chart
mirrors:
- name: custom-commands
custom_command:
package:
- helm package -d package .
upload:
- helm push ./package/{{ name }}-{{ version }}.tgz oci://git.badhouseplants.net/softplayer/helm
- rm -rf ./package
charts:
- name: coredns
repository: coredns
mirrors:
- custom_command
- name: cilium
repository: cilium
mirrors:
- custom_command
- name: metrics-server
repository: metrics-server
mirrors:
- custom_command
- name: traefik
repository: traefik
mirrors:
- custom_command
- name: cert-manager
repository: jetstack
mirrors:
- custom_command
- name: metallb
repository: metallb
mirrors:
- custom_command
- name: longhorn
repository: longhorn
mirrors:
- custom_command
- name: flannel
repository: flannel
mirrors:
- custom_command
- name: local-path-provisioner
repository: rancher-local-path
mirrors:
- custom_command
- name: base
repository: istio
mirrors:
- custom_command
- name: gateway
repository: istio
mirrors:
- custom_command
- name: istiod
repository: istio
mirrors:
- custom_command
- name: tekton-pipeline
repository: cdf
mirrors:
- custom_command

View File

@ -1,12 +1,6 @@
repositories: repositories:
- name: istio
url: https://istio-release.storage.googleapis.com/charts
- name: metallb
url: https://metallb.github.io/metallb
- name: cdf
url: https://cdfoundation.github.io/tekton-helm-chart/
- name: zot - name: zot
url: registry.badhouseplants.net/helmule url: git.badhouseplants.net/softplayer/helm
oci: true oci: true
releases: releases:
@ -27,7 +21,7 @@ releases:
- name: cilium - name: cilium
chart: zot/cilium chart: zot/cilium
installed: true installed: true
version: 1.15.2 version: 1.15.4
namespace: kube-system namespace: kube-system
needs: needs:
- kube-system/coredns - kube-system/coredns
@ -36,7 +30,7 @@ releases:
- name: metrics-server - name: metrics-server
chart: zot/metrics-server chart: zot/metrics-server
version: 3.12.0 version: 3.12.1
namespace: kube-system namespace: kube-system
needs: needs:
- kube-system/coredns - kube-system/coredns
@ -45,7 +39,7 @@ releases:
- ./values/metrics-server.yaml - ./values/metrics-server.yaml
- name: tekton - name: tekton
chart: cdf/tekton-pipeline chart: zot/tekton-pipeline
namespace: tekton-system namespace: tekton-system
version: 1.0.2 version: 1.0.2
createNamespace: false createNamespace: false
@ -95,7 +89,8 @@ releases:
- kube-system/cilium - kube-system/cilium
- name: istio-base - name: istio-base
chart: istio/base chart: zot/base
version: 1.21.2
namespace: istio-system namespace: istio-system
createNamespace: false createNamespace: false
needs: needs:
@ -104,7 +99,8 @@ releases:
- kube-system/cilium - kube-system/cilium
- name: istio-ingressgateway - name: istio-ingressgateway
chart: istio/gateway version: 1.21.2
chart: zot/gateway
namespace: istio-system namespace: istio-system
needs: needs:
- kube-system/namespaces - kube-system/namespaces
@ -115,7 +111,8 @@ releases:
- ./values/values.istio-ingressgateway.yaml - ./values/values.istio-ingressgateway.yaml
- name: istiod - name: istiod
chart: istio/istiod chart: zot/istiod
version: 1.21.2
namespace: istio-system namespace: istio-system
needs: needs:
- kube-system/namespaces - kube-system/namespaces

View File

@ -1,6 +1,8 @@
helmfiles:
- ../common/helmfile.yaml
repositories: repositories:
- name: zot - name: zot
url: registry.badhouseplants.net/helmule url: git.badhouseplants.net/softplayer/helm
oci: true oci: true
releases: releases:
@ -10,74 +12,18 @@ releases:
values: values:
- ./values/namespaces.yaml - ./values/namespaces.yaml
- name: coredns
chart: zot/coredns
version: 1.29.0
namespace: kube-system
values:
- ./values/coredns.yaml
- name: cilium
chart: zot/cilium
installed: true
version: 1.15.2
namespace: kube-system
needs:
- kube-system/coredns
- kube-system/namespaces
values:
- ./values/cilium.yaml
- name: metrics-server
chart: zot/metrics-server
version: 3.12.0
namespace: kube-system
needs:
- kube-system/coredns
- kube-system/cilium
values:
- ./values/metrics-server.yaml
- name: traefik - name: traefik
chart: zot/traefik chart: zot/traefik
version: 26.1.0 version: 27.0.2
needs: needs:
- kube-system/namespaces - kube-system/namespaces
- kube-system/coredns - kube-system/coredns
- kube-system/cilium - kube-system/cilium
namespace: traefik-system namespace: traefik-system
- name: cert-manager
chart: zot/cert-manager
version: v1.14.4
namespace: cert-manager
needs:
- kube-system/namespaces
- kube-system/coredns
values:
- ./values/cert-mangager.yaml
- name: metallb
chart: zot/metallb
version: 0.14.3
namespace: metallb-system
needs:
- kube-system/namespaces
- kube-system/coredns
- kube-system/cilium
- name: local-path-provisioner - name: local-path-provisioner
chart: zot/local-path-provisioner chart: zot/local-path-provisioner
version: 0.0.25-dev version: 0.0.25-dev
- name: longhorn
chart: zot/longhorn
namespace: longhorn-system
installed: false
version: 1.6.0
values:
- ./values/longhorn.yaml
needs:
- kube-system/namespaces
- kube-system/coredns
- kube-system/cilium

View File

@ -1,4 +1,10 @@
repositories: repositories:
- name: cdf
helm:
url: https://cdfoundation.github.io/tekton-helm-chart/
- name: istio
helm:
url: https://istio-release.storage.googleapis.com/charts
- name: metrics-server - name: metrics-server
helm: helm:
url: https://kubernetes-sigs.github.io/metrics-server/ url: https://kubernetes-sigs.github.io/metrics-server/
@ -28,48 +34,78 @@ repositories:
url: https://github.com/rancher/local-path-provisioner.git url: https://github.com/rancher/local-path-provisioner.git
git_ref: main git_ref: main
path: deploy/chart path: deploy/chart
mirrors: mirrors:
- name: custom-commands - name: custom-commands
custom_command: custom_command:
package: package:
- helm package -d package . - helm package -d package .
upload: upload:
- helm push ./package/{{ name }}-{{ version }}.tgz oci://registry.badhouseplants.net/helmule - helm push ./package/{{ name }}-{{ version }}.tgz oci://git.badhouseplants.net/softplayer/helm
- rm -rf ./package - rm -rf ./package
charts: charts:
- name: coredns - name: coredns
repository: coredns repository: coredns
mirrors: mirrors:
- custom_command - custom_command
- name: cilium - name: cilium
repository: cilium repository: cilium
mirrors: mirrors:
- custom_command - custom_command
- name: metrics-server - name: metrics-server
repository: metrics-server repository: metrics-server
mirrors: mirrors:
- custom_command - custom_command
- name: traefik - name: traefik
repository: traefik repository: traefik
mirrors: mirrors:
- custom_command - custom_command
- name: cert-manager - name: cert-manager
repository: jetstack repository: jetstack
mirrors: mirrors:
- custom_command - custom_command
- name: metallb - name: metallb
repository: metallb repository: metallb
mirrors: mirrors:
- custom_command - custom_command
- name: longhorn - name: longhorn
repository: longhorn repository: longhorn
mirrors: mirrors:
- custom_command - custom_command
- name: flannel - name: flannel
repository: flannel repository: flannel
mirrors: mirrors:
- custom_command - custom_command
- name: local-path-provisioner - name: local-path-provisioner
repository: rancher-local-path repository: rancher-local-path
mirrors: mirrors:
- custom_command - custom_command
- name: base
repository: istio
mirrors:
- custom_command
- name: gateway
repository: istio
mirrors:
- custom_command
- name: istiod
repository: istio
mirrors:
- custom_command
- name: tekton-pipeline
repository: cdf
mirrors:
- custom_command

View File

@ -0,0 +1,3 @@
storageClass:
create: true
defaultClass: true