-
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.
Signed-off-by: Pragadeeswaran Sathyanarayanan <psathyan@redhat.com>
- Loading branch information
Showing
28 changed files
with
1,751 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
vas: | ||
uni01alpha: | ||
stages: | ||
- pre_stage_run: | ||
- name: Install cluster observability operator | ||
type: playbook | ||
source: "../../hooks/playbook/observability.yml" | ||
extra_vars: | ||
cifmw_obs_sub: "dt/uni01alpha/observability_subscription.yaml" | ||
path: examples/dt/uni01alpha/control-plane/nncp | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait nncp | ||
-l osp/nncm-config-type=standard | ||
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured | ||
--timeout=60s | ||
values: | ||
- name: network-values | ||
src_file: values.yaml | ||
build_output: nncp.yaml | ||
|
||
- pre_stage_run: | ||
- name: Apply cinder-lvm label on master-0 | ||
type: playbook | ||
source: "../../hooks/playbooks/label.yml" | ||
extra_vars: | ||
cifmw_label_resource: Node | ||
cifmw_label_state: patched | ||
cifmw_label_resource_name: master-0 | ||
cifmw_label_labels: | ||
openstack.org/cinder-lvm: "" | ||
path: examples/dt/uni01alpha/control-plane | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackcontrolplane | ||
controlplane | ||
--for condition=Ready | ||
--timeout=30m | ||
values: | ||
- name: network-values | ||
src_file: nncp/values.yaml | ||
- name: service-values | ||
src_file: service-values.yaml | ||
build_output: control-plane.yaml | ||
|
||
- pre_stage_run: | ||
- name: Replace resource links with files from library. | ||
type: playbook | ||
source: "../../hooks/playbooks/link2file.yml" | ||
extra_vars: | ||
cifmw_link2file_files: >- | ||
[ | ||
'dt/uni01alpha/networker/dataplane-ssh-secret.yaml', | ||
'dt/uni01alpha/networker/openstackdataplanenodeset.yaml', | ||
'dt/uni01alpha/networker/openstackdataplanedeployment.yaml' | ||
] | ||
path: examples/dt/uni01alpha/networker | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanedeployment | ||
edpm-networker | ||
--for condition=Ready | ||
--timeout=1200s | ||
values: | ||
- name: edpm-networker-values | ||
src_file: values.yaml | ||
build_output: edpm-networker.yaml | ||
|
||
- path: examples/dt/uni01alpha | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanedeployment | ||
edpm-deployment | ||
--for condition=Ready | ||
--timeout=1200s | ||
values: | ||
- name: edpm-values | ||
src_file: values.yaml | ||
build_output: edpm.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,11 @@ | ||
# Deployed Topology - Alpha | ||
|
||
If you are looking for information on how to deploy the alpha based DT, then | ||
please the [README](../../examples/dt/uni01alpha/README.md) in the examples | ||
directory. | ||
|
||
This directory `dt/uni01alpha/`, exists so that the | ||
[kustomization.yaml](../../examples/dt/uni01alpha/kustomization.yaml) in | ||
the examples directory of uni01alpha topology, reference it by path as a | ||
component. It's contents are likely uninteresting unless you want to understand | ||
how kustomize was implemented in this repository. |
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,20 @@ | ||
--- | ||
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 |
Oops, something went wrong.