Difficulty: Advanced
Estimated Time: 20-30 minutes

This tutorial will help you advance your understanding of the openshift-applier with dynamic parameters!

Make sure to do this tutorial first!

Please feel to contribute!

Great work! You've learned how to use the openshift-applier with dynamic params!

Happy Coding!

Advanced OpenShift-Applier with Dynamic Parameters

Step 1 of 10

Step 1

If you took this tutorial, then the first two steps should look familiar!

To get started, let us login to the OpenShift cluster by running the following:

oc login -u developer -p developer

To begin, let's create a new directory and go into it.

mkdir sample-applier; cd sample-applier

To complete the generic project structure, we want to create the rest of these:

├── inventory
│   ├── group_vars
│   │   └── all.yml
│   └── hosts
├── params
│   ├── ruby
│   └── projectrequests
├── projectrequests
├── requirements.yml
└── templates
    ├── app
    └── project

Let's go ahead and create that structure:

mkdir -p inventory/group_vars params/{ruby,projectrequests} templates/{app,project}

And now the files:

touch inventory/group_vars/all.yml inventory/hosts requirements.yml