Try with templates

This commit is contained in:
Nikolai Rodionov 2023-02-22 22:21:46 +01:00
parent 89555f45cd
commit 1bfefb404e
3 changed files with 16 additions and 11 deletions

View File

@ -36,9 +36,6 @@ releases:
installed: true
namespace: gitea-service
createNamespace: false
dependencies:
- chart: bedag/raw
version: 2.0.0
- <<: *funkwhale
installed: true

View File

@ -1,12 +1,5 @@
raw:
istio:
enabled: true
global:
imageRegistry: "company-registry/"
# Consider this Image tag Mainly. But considers global imageRegistry, if set by parent chart.
image:
registry: docker.io
repository: bitnami/apache
hostname: git.badhouseplants.net
templates:
- |

View File

@ -1,5 +1,8 @@
---
templates:
# ---------------------------
# -- Hooks
# ---------------------------
crd-management-hook:
hooks:
- events: ["preapply"]
@ -20,6 +23,9 @@ templates:
args:
- -c
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f -"
# ----------------------------
# -- Configs
# ----------------------------
default-env-values:
values:
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml"
@ -27,6 +33,14 @@ templates:
secrets:
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/secrets.{{ .Release.Name }}.yaml"
# ----------------------------
# -- Extensions
# ----------------------------
istio-resource:
dependencies:
- chart: bedag/raw
version: 2.0.0
alias: istio
# ----------------------------
# -- Releases
# ----------------------------
# -- System
@ -142,6 +156,7 @@ templates:
inherit:
- template: default-env-values
- template: default-env-secrets
- template: istio-resource
funkwhale: &funkwhale
name: funkwhale