Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/samples/dataplane/swift/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ replacements:
- source:
kind: DataPlaneConfig
name: edpm-swift-values
fieldPath: data.nodeset.nodetemplate.ansible.vars.edpm_swift_disks
fieldPath: data.nodeset.nodeTemplate.ansible.ansibleVars.edpm_swift_disks
targets:
- select:
kind: OpenStackDataPlaneNodeSet
Expand All @@ -36,7 +36,7 @@ replacements:
- source:
kind: DataPlaneConfig
name: edpm-swift-values
fieldPath: data.nodeset.networkattachments
fieldPath: data.nodeset.networkAttachments
targets:
- select:
kind: OpenStackDataPlaneNodeSet
Expand Down
22 changes: 11 additions & 11 deletions config/samples/dataplane/swift/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ metadata:
config.kubernetes.io/local-config: "true"
data:
nodeset:
networkattachments:
networkAttachments:
- ctlplane
- storage
nodetemplate:
nodeTemplate:
ansible:
vars:
ansibleVars:
# Swift disks defined here apply to all nodes. Node-specific disks
# might be defined in the nodes: section below
#
Expand All @@ -22,11 +22,11 @@ data:
# zone are optional and might be used to enforce distribution of
# replicas
edpm_swift_disks:
- device: /dev/vdb
path: /srv/node/vdb
weight: 4000
region: 0
zone: 0
- device: /dev/vdb
path: /srv/node/vdb
weight: 4000
region: 0
zone: 0
nodes:
edpm-swift-0:
ansible:
Expand All @@ -36,9 +36,9 @@ data:
# node with a different disk. This node will use only vdc. It would
# use vdb from parent section if not defined
edpm_swift_disks:
- device: /dev/vdc
path: /srv/node/vdc
weight: 1000
- device: /dev/vdc
path: /srv/node/vdc
weight: 1000
hostName: edpm-swift-0
networks:
- defaultRoute: true
Expand Down