-
Notifications
You must be signed in to change notification settings - Fork 0
/
lizz.yaml
63 lines (62 loc) · 3.12 KB
/
lizz.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: homer
values:
applicationDependencies:
- name: isNginxInstalled
repository: github.com/openlizz/application-nginx
- name: isCertManagerInstalled
repository: github.com/openlizz/application-cert-manager
- name: isClusterIssuerInstalled
repository: github.com/openlizz/application-cluster-issuer
- name: isNextcloudInstalled
repository: github.com/openlizz/application-nextcloud
- name: isPhotoprismInstalled
repository: github.com/openlizz/application-photoprism
- name: isVaultwardenInstalled
repository: github.com/openlizz/application-vaultwarden
- name: isHomeAssistantInstalled
repository: github.com/openlizz/application-home-assistant
- name: isDomainInstalled
repository: github.com/openlizz/application-domain-name
clusterValues:
- name: nginxName
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-nginx" }}{{.Name}}{{ end }}{{ end }}'
- name: nginxNamespace
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-nginx" }}{{.Configuration.Namespace}}{{ end }}{{ end }}'
- name: certManagerName
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-cert-manager" }}{{.Name}}{{ end }}{{ end }}'
- name: certManagerNamespace
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-cert-manager" }}{{.Configuration.Namespace}}{{ end }}{{ end }}'
- name: clusterIssuerName
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-cluster-issuer" }}{{.Configuration.Name}}{{ end }}{{ end }}'
- name: clusterIssuerNamespace
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-cluster-issuer" }}{{.Configuration.Namespace}}{{ end }}{{ end }}'
- name: domainName
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-domain-name" }}{{.Configuration.Name}}{{ end }}{{ end }}'
- name: domainNamespace
template: '{{ range .Applications }}{{ if eq .Configuration.Repository "github.com/openlizz/application-domain-name" }}{{.Configuration.Namespace}}{{ end }}{{ end }}'
applicationValues:
- name: domain
repository: github.com/openlizz/application-domain-name
path: configmap.yaml
keys: ["data", "value"]
userValues:
- name: title
- name: subtitle
- name: logo
dependsOn:
{{- if index . "isNginxInstalled" }}
- name: {{index . "nginxName"}}
namespace: {{index . "nginxNamespace"}}
{{- end }}
{{- if index . "isCertManagerInstalled" }}
- name: {{index . "certManagerName"}}
namespace: {{index . "certManagerNamespace"}}
{{- end }}
{{- if index . "isClusterIssuerInstalled" }}
- name: {{index . "clusterIssuerName"}}
namespace: {{index . "clusterIssuerNamespace"}}
{{- end }}
{{- if index . "isDomainInstalled" }}
- name: {{index . "domainName"}}
namespace: {{index . "domainNamespace"}}
{{- end }}