-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelmfile.yaml
More file actions
98 lines (92 loc) · 2.5 KB
/
helmfile.yaml
File metadata and controls
98 lines (92 loc) · 2.5 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
repositories:
- name: bitnami
url: https://charts.bitnami.com/bitnami
- name: gitea-charts
url: https://dl.gitea.com/charts/
- name: harbor
url: https://helm.goharbor.io
- name: jetstack
url: https://charts.jetstack.io
- name: stackclass
url: https://charts.stackclass.dev
- name: tektoncd
url: git+https://github.com/tektoncd/operator@charts?ref=v0.76.0
environments:
development:
values:
- "values/global.yaml"
- "values/development.yaml"
production:
values:
- "values/global.yaml"
- "values/production.yaml"
---
releases:
# Common Tier: Infrastructure components
- name: cert-manager
namespace: cert-manager
chart: jetstack/cert-manager
version: v1.18.2
condition: cert-manager.enabled
labels:
tier: common
values:
- "values/cert-manager/values.yaml"
- "values/cert-manager/{{ .Environment.Name }}.yaml"
- "values/load-my-values.yaml.gotmpl"
- name: tekton-operator
namespace: tekton-operator
chart: tektoncd/tekton-operator
version: v0.76.0
condition: tekton.enabled
labels:
tier: common
values:
- "values/tekton-operator/values.yaml"
- "values/tekton-operator/{{ .Environment.Name }}.yaml"
- "values/load-my-values.yaml.gotmpl"
hooks:
- events: ["postsync"]
showlogs: true
command: "kubectl"
args: ["apply", "-f", "resources/tekton-config.yaml"]
wait: true
# Deps Tier: Dependencies for the application
- name: gitea
namespace: gitea
chart: gitea-charts/gitea
version: v12.1.3
condition: gitea.enabled
labels:
tier: deps
values:
- "values/gitea/values.yaml"
- "values/gitea/{{ .Environment.Name }}.yaml"
- "values/load-my-values.yaml.gotmpl"
- name: harbor
namespace: harbor
chart: harbor/harbor
version: 1.17.1
condition: harbor.enabled
labels:
tier: deps
values:
- "values/harbor/values.yaml"
- "values/harbor/{{ .Environment.Name }}.yaml"
- "values/load-my-values.yaml.gotmpl"
# App Tier: Main application
- name: stackclass
namespace: "{{ .Values.namespace }}"
chart: stackclass/stackclass
version: 1.0.11
labels:
tier: app
needs:
- cert-manager/cert-manager
- tekton-operator/tekton-operator
- gitea/gitea
- harbor/harbor
values:
- "values/stackclass/values.yaml"
- "values/stackclass/{{ .Environment.Name }}.yaml"
- "values/load-my-values.yaml.gotmpl"