Try with templates
This commit is contained in:
parent
89555f45cd
commit
1bfefb404e
@ -36,9 +36,6 @@ releases:
|
|||||||
installed: true
|
installed: true
|
||||||
namespace: gitea-service
|
namespace: gitea-service
|
||||||
createNamespace: false
|
createNamespace: false
|
||||||
dependencies:
|
|
||||||
- chart: bedag/raw
|
|
||||||
version: 2.0.0
|
|
||||||
|
|
||||||
- <<: *funkwhale
|
- <<: *funkwhale
|
||||||
installed: true
|
installed: true
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
raw:
|
istio:
|
||||||
enabled: true
|
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
|
hostname: git.badhouseplants.net
|
||||||
templates:
|
templates:
|
||||||
- |
|
- |
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
---
|
---
|
||||||
templates:
|
templates:
|
||||||
|
# ---------------------------
|
||||||
|
# -- Hooks
|
||||||
|
# ---------------------------
|
||||||
crd-management-hook:
|
crd-management-hook:
|
||||||
hooks:
|
hooks:
|
||||||
- events: ["preapply"]
|
- events: ["preapply"]
|
||||||
@ -20,6 +23,9 @@ templates:
|
|||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f -"
|
- "helm show crds {{ .Release.Chart }} --version {{ .Release.Version }} | kubectl delete -f -"
|
||||||
|
# ----------------------------
|
||||||
|
# -- Configs
|
||||||
|
# ----------------------------
|
||||||
default-env-values:
|
default-env-values:
|
||||||
values:
|
values:
|
||||||
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml"
|
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/values.{{ .Release.Name }}.yaml"
|
||||||
@ -27,6 +33,14 @@ templates:
|
|||||||
secrets:
|
secrets:
|
||||||
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/secrets.{{ .Release.Name }}.yaml"
|
- "{{ requiredEnv \"PWD\" }}/{{ .Environment.Name }}/values/secrets.{{ .Release.Name }}.yaml"
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
|
# -- Extensions
|
||||||
|
# ----------------------------
|
||||||
|
istio-resource:
|
||||||
|
dependencies:
|
||||||
|
- chart: bedag/raw
|
||||||
|
version: 2.0.0
|
||||||
|
alias: istio
|
||||||
|
# ----------------------------
|
||||||
# -- Releases
|
# -- Releases
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
# -- System
|
# -- System
|
||||||
@ -142,6 +156,7 @@ templates:
|
|||||||
inherit:
|
inherit:
|
||||||
- template: default-env-values
|
- template: default-env-values
|
||||||
- template: default-env-secrets
|
- template: default-env-secrets
|
||||||
|
- template: istio-resource
|
||||||
|
|
||||||
funkwhale: &funkwhale
|
funkwhale: &funkwhale
|
||||||
name: funkwhale
|
name: funkwhale
|
||||||
|
Reference in New Issue
Block a user