-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path20-s3.yaml
85 lines (78 loc) · 3.32 KB
/
20-s3.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
bases:
- ../environments.yaml
---
{{ readFile "../etc/helmfile-templates.yaml" }}
releases:
- name: redis
chart: radar/redis
version: {{ .Values.redis._chart_version }}
installed: {{ .Values.redis._install }}
timeout: {{ add .Values.base_timeout .Values.redis._extra_timeout }}
<<: *logFailedRelease
values:
- "../etc/redis/values.yaml"
- {{ .Values.redis | toYaml | indent 8 | trim }}
- name: minio
chart: radar/minio
version: {{ .Values.minio._chart_version }}
installed: {{ .Values.minio._install }}
timeout: {{ add .Values.base_timeout .Values.minio._extra_timeout }}
<<: *logFailedRelease
values:
- "../etc/minio/values.yaml"
- {{ .Values.minio | toYaml | indent 8 | trim }}
set:
- name: ingress.hostname
value: "s3.{{ .Values.server_name }}"
- name: apiIngress.hostname
value: "api.s3.{{ .Values.server_name }}"
- name: auth.rootUser
value: {{ dig "auth" "rootUser" (dig "accessKey" .Values.s3_access_key .Values.minio) .Values.minio }}
- name: auth.rootPassword
value: {{ dig "auth" "rootPassword" (dig "secretKey" .Values.s3_secret_key .Values.minio) .Values.minio }}
- name: radar-s3-connector
chart: radar/radar-s3-connector
version: {{ .Values.radar_s3_connector._chart_version }}
installed: {{ .Values.radar_s3_connector._install }}
timeout: {{ add .Values.base_timeout .Values.radar_s3_connector._extra_timeout }}
<<: *logFailedRelease
values:
- {{ .Values.radar_s3_connector | toYaml | indent 8 | trim }}
- {{ .Values.confluent_cloud | toYaml | indent 8 | trim }}
set:
- name: cc.enabled
value: {{ .Values.confluent_cloud.enabled }}
- name: bucketAccessKey
value: {{ dig "bucketAccessKey" .Values.s3_access_key .Values.radar_s3_connector }}
- name: bucketSecretKey
value: {{ dig "bucketSecretKey" .Values.s3_secret_key .Values.radar_s3_connector }}
- name: s3-proxy
chart: radar/s3-proxy
version: {{ .Values.s3_proxy._chart_version }}
installed: {{ .Values.s3_proxy._install }}
timeout: {{ add .Values.base_timeout .Values.s3_proxy._extra_timeout }}
<<: *logFailedRelease
values:
- {{ .Values.s3_proxy | toYaml | indent 8 | trim }}
set:
- name: s3.identity
value: {{ dig "s3" "identity" .Values.s3_access_key .Values.s3_proxy }}
- name: s3.credential
value: {{ dig "s3" "credential" .Values.s3_secret_key .Values.s3_proxy }}
- name: radar-output
chart: radar/radar-output
version: {{ .Values.radar_output._chart_version }}
installed: {{ .Values.radar_output._install }}
timeout: {{ add .Values.base_timeout .Values.radar_output._extra_timeout }}
<<: *logFailedRelease
values:
- {{ .Values.radar_output | toYaml | indent 8 | trim }}
set:
- name: source.s3.accessToken
value: {{ dig "source" "s3" "accessToken" .Values.s3_access_key .Values.radar_output }}
- name: source.s3.secretKey
value: {{ dig "source" "s3" "secretKey" .Values.s3_secret_key .Values.radar_output }}
- name: target.s3.accessToken
value: {{ dig "target" "s3" "accessToken" .Values.s3_access_key .Values.radar_output }}
- name: target.s3.secretKey
value: {{ dig "target" "s3" "secretKey" .Values.s3_secret_key .Values.radar_output }}