Repository navigation
Expand file tree
/
Copy pathhelmfile.yaml
More file actions
68 lines (65 loc) · 2.05 KB
/
Copy pathhelmfile.yaml
File metadata and controls
68 lines (65 loc) · 2.05 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
{{ .Environment.Name }}:
---
helmDefaults:
timeout: 600
kubeContext: k8s-dev
wait: true
recreatePods: false
repositories:
- name: blockscout-ci-cd
url: https://blockscout.github.io/blockscout-ci-cd
- name: blockscout
url: https://blockscout.github.io/helm-charts
- name: bedag
url: https://bedag.github.io/helm-charts
releases:
# Deploy review L2
- name: reg-secret
chart: bedag/raw
namespace: review-l2-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
labels:
app: review-l2-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
values:
- resources:
- apiVersion: v1
kind: Secret
metadata:
name: regcred
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: ref+vault://deployment-values/blockscout/common?token_env=VAULT_TOKEN&address=https://vault.k8s.blockscout.com#/dockerRegistryCreds
- name: bs-stack
chart: blockscout/blockscout-stack
version: 1.*.*
namespace: review-l2-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
labels:
app: review-l2-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
values:
- values/review-l2/values.yaml.gotmpl
- global:
env: "review"
# Deploy review
- name: reg-secret
chart: bedag/raw
namespace: review-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
labels:
app: review-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
values:
- resources:
- apiVersion: v1
kind: Secret
metadata:
name: regcred
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: ref+vault://deployment-values/blockscout/common?token_env=VAULT_TOKEN&address=https://vault.k8s.blockscout.com#/dockerRegistryCreds
- name: bs-stack
chart: blockscout/blockscout-stack
version: 1.*.*
namespace: review-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
labels:
app: review-{{ requiredEnv "GITHUB_REF_NAME_SLUG" }}
values:
- values/review/values.yaml.gotmpl
- global:
env: "review"