Skip to content

Commit 2134888

Browse files
committed
enable octavia in uni02beta
1 parent 3b90625 commit 2134888

File tree

2 files changed

+122
-0
lines changed

2 files changed

+122
-0
lines changed

dt/uni02beta/kustomization.yaml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
apiVersion: kustomize.config.k8s.io/v1alpha1
33
kind: Component
44

5+
secretGenerator:
6+
- name: octavia-ca-passphrase
7+
literals:
8+
- server-ca-passphrase=12345678
9+
options:
10+
disableNameSuffixHash: true
11+
512
transformers:
613
- |-
714
apiVersion: builtin
@@ -249,3 +256,99 @@ replacements:
249256
- spec.heat.enabled
250257
options:
251258
create: true
259+
# Octavia
260+
- source:
261+
kind: ConfigMap
262+
name: service-values
263+
fieldPath: data.octavia.enabled
264+
targets:
265+
- select:
266+
kind: OpenStackControlPlane
267+
fieldPaths:
268+
- spec.octavia.enabled
269+
options:
270+
create: true
271+
272+
- source:
273+
kind: ConfigMap
274+
name: service-values
275+
fieldPath: data.octavia.amphoraImageContainerImage
276+
targets:
277+
- select:
278+
kind: OpenStackControlPlane
279+
fieldPaths:
280+
- spec.octavia.template.amphoraImageContainerImage
281+
options:
282+
create: true
283+
284+
- source:
285+
kind: ConfigMap
286+
name: service-values
287+
fieldPath: data.octavia.apacheContainerImage
288+
targets:
289+
- select:
290+
kind: OpenStackControlPlane
291+
fieldPaths:
292+
- spec.octavia.template.apacheContainerImage
293+
options:
294+
create: true
295+
296+
- source:
297+
kind: ConfigMap
298+
name: service-values
299+
fieldPath: data.octavia.availabilityZones
300+
targets:
301+
- select:
302+
kind: OpenStackControlPlane
303+
fieldPaths:
304+
- spec.octavia.template.lbMgmtNetwork.availabilityZones
305+
options:
306+
create: true
307+
308+
- source:
309+
kind: ConfigMap
310+
name: service-values
311+
fieldPath: data.octavia.octaviaAPI.networkAttachments
312+
targets:
313+
- select:
314+
kind: OpenStackControlPlane
315+
fieldPaths:
316+
- spec.octavia.template.octaviaAPI.networkAttachments
317+
options:
318+
create: true
319+
320+
- source:
321+
kind: ConfigMap
322+
name: service-values
323+
fieldPath: data.octavia.octaviaHousekeeping.networkAttachments
324+
targets:
325+
- select:
326+
kind: OpenStackControlPlane
327+
fieldPaths:
328+
- spec.octavia.template.octaviaHousekeeping.networkAttachments
329+
options:
330+
create: true
331+
332+
- source:
333+
kind: ConfigMap
334+
name: service-values
335+
fieldPath: data.octavia.octaviaHealthManager.networkAttachments
336+
targets:
337+
- select:
338+
kind: OpenStackControlPlane
339+
fieldPaths:
340+
- spec.octavia.template.octaviaHealthManager.networkAttachments
341+
options:
342+
create: true
343+
344+
- source:
345+
kind: ConfigMap
346+
name: service-values
347+
fieldPath: data.octavia.octaviaWorker.networkAttachments
348+
targets:
349+
- select:
350+
kind: OpenStackControlPlane
351+
fieldPaths:
352+
- spec.octavia.template.octaviaWorker.networkAttachments
353+
options:
354+
create: true

examples/dt/uni02beta/control-plane/service-values.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,22 @@ data:
101101

102102
heat:
103103
enabled: true
104+
105+
octavia:
106+
enabled: true
107+
amphoraImageContainerImage: quay.io/gthiemonge/octavia-amphora-image
108+
apacheContainerImage: registry.redhat.io/ubi9/httpd-24:latest
109+
availabilityZones:
110+
- zone-1
111+
octaviaAPI:
112+
networkAttachments:
113+
- internalapi
114+
octaviaHousekeeping:
115+
networkAttachments:
116+
- octavia
117+
octaviaHealthManager:
118+
networkAttachments:
119+
- octavia
120+
octaviaWorker:
121+
networkAttachments:
122+
- octavia

0 commit comments

Comments
 (0)