-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[delta-ipv6] Shared control plane vars
Ther is 2 stage control plane config, tha shared options moved to different file used by both stages.
- Loading branch information
Showing
3 changed files
with
147 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
transformers: | ||
- |- | ||
apiVersion: builtin | ||
kind: NamespaceTransformer | ||
metadata: | ||
name: _ignored_ | ||
namespace: openstack | ||
setRoleBindingSubjects: none | ||
unsetOnly: true | ||
fieldSpecs: | ||
- path: metadata/name | ||
kind: Namespace | ||
create: true | ||
components: | ||
- ../../../lib/control-plane | ||
|
||
replacements: | ||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.neutron.customServiceConfig | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.neutron.template.customServiceConfig | ||
options: | ||
create: true | ||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.ironic.enabled | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.enabled | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.ironic.rpcTransport | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.template.rpcTransport | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: network-values | ||
fieldPath: data.ctlplane.endpoint_annotations | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.template.ironicAPI.override.service.internal.metadata.annotations | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: network-values | ||
fieldPath: data.ctlplane.endpoint_annotations | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.template.ironicInspector.override.service.internal.metadata.annotations | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: network-values | ||
fieldPath: data.lbServiceType | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.template.ironicAPI.override.service.internal.spec.type | ||
- spec.ironic.template.ironicInspector.override.service.internal.spec.type | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: network-values | ||
fieldPath: data.ironic.iface | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.template.ironicConductors.0.networkAttachments.0 | ||
- spec.ironic.template.ironicConductors.0.provisionNetwork | ||
- spec.ironic.template.ironicInspector.inspectionNetwork | ||
- spec.ironic.template.ironicInspector.networkAttachments.0 | ||
- spec.ovn.template.ovnController.nicMappings.ironic | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.ironic.ironicConductors.0.customServiceConfig | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.template.ironicConductors.0.customServiceConfig | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.ironic.ironicInspector.customServiceConfig | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.ironic.template.ironicInspector.customServiceConfig | ||
options: | ||
create: true | ||
|
||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.nova.cellTemplates | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.nova.template.cellTemplates | ||
options: | ||
create: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters