-
Notifications
You must be signed in to change notification settings - Fork 45
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
Check for valid CA minion at the beginning of the bootstrap #3065
Conversation
Hello teddyandrieux,My role is to assist you with the merge of this Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
ConflictThere is a conflict between your branch Please resolve the conflict on the feature branch ( $ git fetch
$ git checkout origin/improvement/check-for-ca-minion
$ git merge origin/development/2.8
$ # <intense conflict resolution>
$ git commit
$ git push origin HEAD:improvement/check-for-ca-minion |
Currently in the bootstrap we use the local node as bootstrap node and also as CA minion, adding a check to be sure that the minion id provided in the bootstrap config match the local minion id. NOTE: This check is only part of the script and not somewhere else in Salt, the `CA:minion` key inside the bootstrap configuration is here for being able to install MetalK8s using another Salt minion as CA
157cc76
to
b891c77
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye teddyandrieux. |
Component:
'script', 'bootstrap'
Context:
When trying to install the bootstrap node and providing an invalid CA minion in the Bootstrap configuration file. Bootstrap script fail with not clear error about Salt-api unable to starts etc.
Summary:
Currently in the bootstrap we use the local node as bootstrap node and
also as CA minion, adding a check to be sure that the minion id provided
in the bootstrap config match the local minion id.
NOTE: This check is only part of the script and not somewhere else in
Salt, the
CA:minion
key inside the bootstrap configurationis here for being able to install MetalK8s using another Salt minion
as CA (Which is to yet supported by the bootstrap script)
Acceptance criteria:
Output when providing invalid minion id as CA minion in bootstrap configuration