Try with templates
This commit is contained in:
parent
89555f45cd
commit
1bfefb404e
@ -36,9 +36,6 @@ releases:
|
||||
installed: true
|
||||
namespace: gitea-service
|
||||
createNamespace: false
|
||||
dependencies:
|
||||
- chart: bedag/raw
|
||||
version: 2.0.0
|
||||
|
||||
- <<: *funkwhale
|
||||
installed: true
|
||||
|
@ -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:
|
||||
- |
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user