Browse Source

Add proxy override for Armada chart

Armada service may require the access to external repositories,
add proxy configuration to be able to install it behind the proxy.

Change-Id: I30f6ce6256e234b33f5fbce80387290d2cdb40c1
changes/22/624122/3
Evgeny L 6 months ago
parent
commit
407396a666

+ 2
- 0
deployment_files/global/v1.0dev/software/charts/ucp/armada/armada.yaml View File

@@ -6,6 +6,8 @@ metadata:
6 6
   layeringDefinition:
7 7
     abstract: false
8 8
     layer: global
9
+  labels:
10
+    name: ucp-armada
9 11
   storagePolicy: cleartext
10 12
   substitutions:
11 13
     # Chart source

+ 44
- 0
deployment_files/type/single-node-proxy/v1.0dev/software/charts/ucp/armada/armada.yaml View File

@@ -0,0 +1,44 @@
1
+---
2
+schema: armada/Chart/v1
3
+metadata:
4
+  schema: metadata/Document/v1
5
+  name: ucp-armada
6
+  replacement: true
7
+  layeringDefinition:
8
+    abstract: false
9
+    layer: type
10
+    parentSelector:
11
+      name: ucp-armada
12
+    actions:
13
+      - method: merge
14
+        path: .
15
+  storagePolicy: cleartext
16
+  substitutions:
17
+    # HTTP Proxy env
18
+    - src:
19
+        schema: pegleg/CommonAddresses/v1
20
+        name: common-addresses
21
+        path: .proxy.http
22
+      dest:
23
+        path: .values.pod.env.armada_api[0].value
24
+    - src:
25
+        schema: pegleg/CommonAddresses/v1
26
+        name: common-addresses
27
+        path: .proxy.https
28
+      dest:
29
+        path: .values.pod.env.armada_api[1].value
30
+    - src:
31
+        schema: pegleg/CommonAddresses/v1
32
+        name: common-addresses
33
+        path: .proxy.no_proxy
34
+      dest:
35
+        path: .values.pod.env.armada_api[2].value
36
+data:
37
+  values:
38
+    pod:
39
+      env:
40
+        armada_api:
41
+          - name: http_proxy
42
+          - name: https_proxy
43
+          - name: no_proxy
44
+...

Loading…
Cancel
Save