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

WIP - Remove initcontainer and process secrets passed as input #221

Closed

Conversation

fmount
Copy link
Contributor

@fmount fmount commented May 15, 2023

There are many goals achieved by this patch:

  1. we're able to remove (entirely) the initcontainer and the related scripts that are no longer required to start the service

  2. kolla is still used to copy additional files and templates from src to dst, as they rendered accordingly (secrets for sensitive information and configmap for regular overrides) and mounted to the destination directory

  3. Controllers are able to parse many secrets referenced by the CustomServiceConfigSecrets parameter and merge them into a single secret (04-secret.conf) which is passed to the deployment and mounted to the target pod

Still WIP but good progress so far on the main goal.

@openshift-ci openshift-ci bot requested review from konan-abhi and stuggi May 15, 2023 09:05
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 15, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fmount

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

@fmount fmount marked this pull request as draft May 17, 2023 05:34
@fmount fmount force-pushed the process_secret_conf branch from 8ebea46 to 67525ef Compare May 17, 2023 07:22
@fmount fmount marked this pull request as ready for review May 17, 2023 07:22
@openshift-ci openshift-ci bot requested a review from viroel May 17, 2023 07:23
@fmount fmount changed the title Remove initcontainer and process secrets passed as input WIP - Remove initcontainer and process secrets passed as input May 17, 2023
@fmount fmount marked this pull request as draft May 17, 2023 08:03
There are many goals achieved by this patch:

1. we're able to remove (entirely) the initcontainer and the related
   scripts that are no longer required to start the service

2. kolla is still used to copy additional files and templates from
   src to dst, as they rendered accordingly (secrets for sensitive
   information and configmap for regular overrides) and mounted to
   the destination directory

3. Controllers are able to parse many secrets referenced by the
   CustomServiceConfigSecrets parameter and merge them into a
   single secret (04-secret.conf) which is passed to the deployment
   and mounted to the target pod

Still WIP but good progress so far on the main goal.

Signed-off-by: Francesco Pantano <[email protected]>
@fmount fmount force-pushed the process_secret_conf branch from 67525ef to 9f08e86 Compare May 17, 2023 08:06
@fmount fmount marked this pull request as ready for review May 17, 2023 20:49
@openshift-ci openshift-ci bot requested a review from olliewalsh May 17, 2023 20:49
@fmount fmount marked this pull request as draft May 18, 2023 04:37
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 17, 2023

@fmount: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/precommit-check 9f08e86 link true /test precommit-check
ci/prow/images 9f08e86 link true /test images
ci/prow/functional 9f08e86 link true /test functional
ci/prow/glance-operator-build-deploy-kuttl 9f08e86 link true /test glance-operator-build-deploy-kuttl
ci/prow/glance-operator-build-deploy-tempest 9f08e86 link true /test glance-operator-build-deploy-tempest

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@fmount
Copy link
Contributor Author

fmount commented Aug 20, 2023

This is too old at this point and all this patch has been reworked in #295. Closing in favor of #295

@fmount fmount closed this Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants