Skip to content

Commit

Permalink
Add a values.yaml for OpenStackDataPlaneDeployment
Browse files Browse the repository at this point in the history
Signed-off-by: Fabricio Aguiar <[email protected]>
  • Loading branch information
fao89 committed Apr 3, 2024
1 parent 2733a76 commit 2b57a07
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions examples/va/hci/edpm-pre-ceph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
deployment:
name: edpm-deployment-pre-ceph
ssh_keys:
# Authorized keys that will have access to the dataplane computes via SSH
authorized: CHANGEME
Expand Down
20 changes: 12 additions & 8 deletions va/hci/edpm-pre-ceph/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ transformers:
components:
- ../../../lib/dataplane

patches:
- target:
kind: OpenStackDataPlaneDeployment
name: .*
patch: |-
- op: replace
path: /metadata/name
value: edpm-deployment-pre-ceph
replacements:
- source:
kind: ConfigMap
name: edpm-values
fieldPath: data.deployment.name
targets:
- select:
kind: OpenStackDataPlaneDeployment
fieldPaths:
- metadata.name
options:
create: true

0 comments on commit 2b57a07

Please sign in to comment.