Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a clusters infrastructure ID as a fact #2

Open
corvus-ch opened this issue Jul 2, 2020 · 0 comments
Open

Get a clusters infrastructure ID as a fact #2

corvus-ch opened this issue Jul 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@corvus-ch
Copy link
Contributor

corvus-ch commented Jul 2, 2020

Context

The parameter infrastrucutreID must be set on each cluster. This value is created by the OpenShift 4 installer and is easily extracted from the cluster using the following command:

oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster

Exposing this values a a fact, allows to define a default within this component. This removes the need to manually copy that value to a clusters configuration.

Alternatives

Unknown

@corvus-ch corvus-ch added the enhancement New feature or request label Jul 2, 2020
@corvus-ch corvus-ch changed the title Get a clusters infrastrucure ID as a fact Get a clusters infrastructure ID as a fact Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant