Skip to content

Conversation

@pierreprinetti
Copy link
Member

Add a new team member

Add a new team member
@pierreprinetti
Copy link
Member Author

/cc @mdbooth

@openshift-ci-robot
Copy link

@pierreprinetti: GitHub didn't allow me to request PR reviews from the following users: mdbooth.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @mdbooth

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@mandre mandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mandre

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 5, 2020
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

Copy link

@Fedosin Fedosin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 3b75230 into openshift:master Nov 5, 2020
@pierreprinetti pierreprinetti deleted the owners_mdbooth branch November 8, 2020 19:53
pierreprinetti pushed a commit to shiftstack/cluster-api-provider-openstack that referenced this pull request Apr 22, 2024
* Add  a common ActuatorParams type

This struct is passed to every Actuator and holds instance of objects
that will be used throught the actuator lifecycle. Kubeclient, scheme,
the manager client, etc.

* Allow for the actuator to gather its configs from a secret.

The config parsing logic is as follows:

- Check if the machine has `CloudsSecret` set. If yes, get the secret,
load the cloud from it using the value of `CloudName` (default is
"openstack"), and use the credentials of this cloud.
- If `CloudSecret` is not set, check for `clouds.yaml` files in the
container and proceed using the standard flow.

Some things to note:
- As of now, if the `OS_CLOUD` env variable is set, and there's a
`clouds.yaml` file in the container with a cloud corresponding to
`OS_CLOUD`, it'll overwrite the one loaded from the secret.
- The current implementation requires setting `CloudsSecret` on every
machine definition. Future patches PRs will allow for setting
`CloudsSecret` in the cluster spec too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants