Keep migrating things

This commit is contained in:
Nikolai Rodionov 2025-03-30 15:51:26 +02:00
parent a659611d6f
commit a8693f41ee
Signed by: allanger
GPG Key ID: 09F8B434D0FDD99B
10 changed files with 65 additions and 14 deletions

View File

@ -1,3 +1,6 @@
registry: registry.badhouseplants.net/containers registry: registry.badhouseplants.net/containers
registry_url: registry.badhouseplants.net registry_url: registry.badhouseplants.net
main_ip: 195.201.249.91 main_ip: 195.201.249.91
tools:
openebs:
enabled: true

View File

@ -1,3 +1,6 @@
registry: registry.ru.badhouseplants.net/containers registry: registry.ru.badhouseplants.net/containers
registry_url: registry.ru.badhouseplants.net registry_url: registry.ru.badhouseplants.net
main_ip: 91.232.225.63 main_ip: 91.232.225.63
tools:
openebs:
enabled: false

View File

@ -17,7 +17,10 @@ repositories:
url: git+https://github.com/rancher/local-path-provisioner@deploy/chart?ref=master url: git+https://github.com/rancher/local-path-provisioner@deploy/chart?ref=master
- name: kyverno - name: kyverno
url: https://kyverno.github.io/kyverno/ url: https://kyverno.github.io/kyverno/
- name: vmware-tanzu
url: https://vmware-tanzu.github.io/helm-charts/
- name: openebs
url: https://openebs.github.io/openebs
releases: releases:
- name: coredns - name: coredns
chart: coredns/coredns chart: coredns/coredns
@ -135,3 +138,22 @@ releases:
- registry/cluster-mirror - registry/cluster-mirror
inherit: inherit:
- template: common-values-tpl - template: common-values-tpl
- name: openebs
chart: openebs/openebs
condition: tools.openebs.enabled
namespace: kube-system
version: 4.2.0
inherit:
- template: common-values-tpl
- template: env-values
- name: velero
chart: vmware-tanzu/velero
namespace: velero
version: 8.5.0
condition: velero.enabled
inherit:
- template: common-values-tpl
- template: env-values
- template: env-secrets

View File

@ -17,10 +17,6 @@ repositories:
url: https://coredns.github.io/helm url: https://coredns.github.io/helm
- name: cilium - name: cilium
url: https://helm.cilium.io/ url: https://helm.cilium.io/
- name: vmware-tanzu
url: https://vmware-tanzu.github.io/helm-charts/
- name: openebs
url: https://openebs.github.io/openebs
- name: local-path-provisioner - name: local-path-provisioner
url: git+https://github.com/rancher/local-path-provisioner@deploy/chart?ref=master url: git+https://github.com/rancher/local-path-provisioner@deploy/chart?ref=master
- name: istio - name: istio

View File

@ -5,6 +5,7 @@ namespaces:
- name: kyverno - name: kyverno
defaultRegcred: true defaultRegcred: true
- name: velero - name: velero
defaultRegcred: true
- name: observability - name: observability
- name: databases - name: databases
- name: istio-system - name: istio-system

View File

@ -1,6 +1,7 @@
localpv-provisioner: localpv-provisioner:
hostpathClass: hostpathClass:
isDefaultClass: true isDefaultClass: true
zfs-localpv: zfs-localpv:
crds: crds:
zfsLocalPv: zfsLocalPv:

View File

@ -1,10 +1,3 @@
initContainers:
- name: velero-plugin-for-aws
image: velero/velero-plugin-for-aws:v1.11.0
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
configuration: configuration:
logLevel: error logLevel: error
repositoryMaintenanceJob: repositoryMaintenanceJob:
@ -17,7 +10,7 @@ configuration:
backupStorageLocation: backupStorageLocation:
- name: hetzner - name: hetzner
provider: aws provider: aws
plugin: velero/velero-plugin-for-aws:v1.11.0 plugin: velero/velero-plugin-for-aws:v1.11.1
bucket: badhouseplants-backups bucket: badhouseplants-backups
accessMode: ReadWrite accessMode: ReadWrite
credential: credential:
@ -31,7 +24,7 @@ configuration:
checksumAlgorithm: "" checksumAlgorithm: ""
- name: etersoft - name: etersoft
provider: aws provider: aws
plugin: velero/velero-plugin-for-aws:v1.11.0 plugin: velero/velero-plugin-for-aws:v1.11.1
bucket: velero bucket: velero
accessMode: ReadWrite accessMode: ReadWrite
credential: credential:

View File

@ -0,0 +1,6 @@
global:
imageRegistry: {{ .Values.registry }}
localpv-provisioner:
imagePullSecrets:
- name: regcred

View File

@ -0,0 +1,26 @@
{{- if not (env "HELMFILE_BOOTSTRAP") }}
image:
repository: {{ .Values.registry }}/velero/velero
imagePullSecrets:
- regcred
kubectl:
image:
repository: {{ .Values.registry }}/bitnami/kubectl
initContainers:
- name: velero-plugin-for-aws
image: {{.Values.registry}}/velero/velero-plugin-for-aws:v1.11.1
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
{{- else }}
initContainers:
- name: velero-plugin-for-aws
image: velero/velero-plugin-for-aws:v1.11.1
imagePullPolicy: IfNotPresent
volumeMounts:
- mountPath: /target
name: plugins
{{- end }}