-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redefine uni05epsilon to deploy with 3 cells
- Loading branch information
Showing
22 changed files
with
663 additions
and
17 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
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
33 changes: 33 additions & 0 deletions
33
dt/uni05epsilon/edpm-post-ceph/nodeset2/deployment/kustomization.yaml
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,33 @@ | ||
--- | ||
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/dataplane/deployment | ||
|
||
replacements: | ||
- source: | ||
kind: ConfigMap | ||
name: edpm-deployment-values-post-ceph-2 | ||
fieldPath: data.deployment.name | ||
targets: | ||
- select: | ||
kind: OpenStackDataPlaneDeployment | ||
fieldPaths: | ||
- metadata.name | ||
options: | ||
create: true |
48 changes: 48 additions & 0 deletions
48
dt/uni05epsilon/edpm-post-ceph/nodeset2/kustomization.yaml
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,48 @@ | ||
--- | ||
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/dataplane/nodeset | ||
|
||
patches: | ||
- target: | ||
kind: OpenStackDataPlaneNodeSet | ||
name: .* | ||
path: resources/ceph-extra-mounts.yaml | ||
|
||
resources: | ||
- resources/nova-custom-config.yaml | ||
- resources/nova-custom-service.yaml | ||
|
||
replacements: | ||
# | ||
# Dataplane services override | ||
# | ||
# (overrides /lib/dataplane which is using edpm-nodeset-values ConfigMap) | ||
# | ||
- source: | ||
kind: ConfigMap | ||
name: edpm-nodeset2-values-post-ceph | ||
fieldPath: data.nodeset.services | ||
targets: | ||
- select: | ||
kind: OpenStackDataPlaneNodeSet | ||
fieldPaths: | ||
- spec.services | ||
options: | ||
create: true |
17 changes: 17 additions & 0 deletions
17
dt/uni05epsilon/edpm-post-ceph/nodeset2/resources/ceph-extra-mounts.yaml
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,17 @@ | ||
--- | ||
apiVersion: dataplane.openstack.org/v1beta1 | ||
kind: OpenStackDataPlaneNodeSet | ||
metadata: | ||
name: openstack-edpm | ||
spec: | ||
nodeTemplate: | ||
extraMounts: | ||
- extraVolType: Ceph | ||
mounts: | ||
- mountPath: /etc/ceph | ||
name: ceph | ||
readOnly: true | ||
volumes: | ||
- name: ceph | ||
secret: | ||
secretName: ceph-conf-files |
10 changes: 10 additions & 0 deletions
10
dt/uni05epsilon/edpm-post-ceph/nodeset2/resources/ceph-secret.yaml
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,10 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
type: Opaque | ||
metadata: | ||
name: ceph-conf-files | ||
namespace: openstack | ||
data: | ||
ceph.client.openstack.keyring: _replaced_ | ||
ceph.conf: _replaced_ |
13 changes: 13 additions & 0 deletions
13
dt/uni05epsilon/edpm-post-ceph/nodeset2/resources/cinder-volume-nfs-secrets.yaml
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,13 @@ | ||
--- | ||
# Define the "cinder-volume-nfs-secrets" Secret that contains sensitive | ||
# information pertaining to the [nfs] backend. | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
labels: | ||
service: cinder | ||
component: cinder-volume | ||
name: cinder-volume-nfs-secrets | ||
type: Opaque | ||
stringData: | ||
cinder-volume-nfs-secrets: _replaced_ |
13 changes: 13 additions & 0 deletions
13
dt/uni05epsilon/edpm-post-ceph/nodeset2/resources/cinder-volume-ontap-secrets.yaml
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,13 @@ | ||
--- | ||
# Define the "cinder-volume-ontap-secrets" Secret that contains sensitive | ||
# information pertaining to the [ontap] backend. | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
labels: | ||
service: cinder | ||
component: cinder-volume | ||
name: cinder-volume-ontap-secrets | ||
type: Opaque | ||
stringData: | ||
cinder-volume-ontap-secrets: _replaced_ |
13 changes: 13 additions & 0 deletions
13
dt/uni05epsilon/edpm-post-ceph/nodeset2/resources/nova-custom-config.yaml
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,13 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: nova-custom-config | ||
data: | ||
25-nova-custom.conf: | | ||
[DEFAULT] | ||
# Override our defaults in this dt to get coverage for metadata-api based | ||
# cloud-init scenarios | ||
force_config_drive = False | ||
55-nova-extra.conf: | | ||
# Additional overrides that can be set in environment-specific cases |
29 changes: 29 additions & 0 deletions
29
dt/uni05epsilon/edpm-post-ceph/nodeset2/resources/nova-custom-service.yaml
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,29 @@ | ||
--- | ||
apiVersion: dataplane.openstack.org/v1beta1 | ||
kind: OpenStackDataPlaneService | ||
metadata: | ||
name: nova-custom | ||
spec: | ||
label: dataplane-deployment-nova-custom | ||
dataSources: | ||
- configMapRef: | ||
name: nova-custom-config | ||
- secretRef: | ||
name: nova-cell1-compute-config | ||
- secretRef: | ||
name: nova-migration-ssh-key | ||
playbook: osp.edpm.nova | ||
caCerts: combined-ca-bundle | ||
tlsCerts: | ||
default: | ||
contents: | ||
- dnsnames | ||
- ips | ||
networks: | ||
- ctlplane | ||
issuer: osp-rootca-issuer-internal | ||
edpmRoleServiceName: nova | ||
edpmServiceType: nova | ||
containerImageFields: | ||
- NovaComputeImage | ||
- EdpmIscsidImage |
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
Oops, something went wrong.