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

Openshift fix #288

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Conversation

pflaeging
Copy link
Contributor

After this small fix connaisseur runs as a normal helm deployment inside OKD / OpenShift 4 (tested with OKd 4.7).

Only set the value: openshift: true in your value.yaml file.

Reason

Openshift and OKD are using secure container by default (randomized user and group execution). So we have to disable the fixed user and group setting. This let OpenShift decide ;-)

@codecov-commenter
Copy link

codecov-commenter commented Aug 26, 2021

Codecov Report

Merging #288 (d3da420) into develop (c348daa) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #288   +/-   ##
========================================
  Coverage    96.65%   96.65%           
========================================
  Files           22       22           
  Lines         1077     1077           
========================================
  Hits          1041     1041           
  Misses          36       36           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c348daa...d3da420. Read the comment docs.

@xopham xopham changed the base branch from master to develop August 26, 2021 16:15
Copy link
Collaborator

@xopham xopham left a comment

Choose a reason for hiding this comment

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

Thanks for contributing @pflaeging ! You are pointing out an important compatibility issue with the secure defaults.

I think your last sentence almost nails it: we should just let the user decide ;-)
I'd propose to simply expose the whole security context and annotation (comment the annotation and make a note for k8s <v1.18) via helm/values.yaml under deployment. before resources. Would that work for you?

Also:

  • changed the base branch to develop (merged to master for releases)
  • we should rename the commit for semantic commits, maybe feat: expose security context and annotations in values.yaml
  • have you tested on Openshift / OKD? We should add a note in the docs then.

Let me know if I should support!

@xopham xopham mentioned this pull request Sep 2, 2021
13 tasks
@phbelitz phbelitz added this to the v2.2.0 milestone Sep 2, 2021
@pflaeging
Copy link
Contributor Author

Thanks for contributing @pflaeging ! You are pointing out an important compatibility issue with the secure defaults.

I think your last sentence almost nails it: we should just let the user decide ;-)
I'd propose to simply expose the whole security context and annotation (comment the annotation and make a note for k8s <v1.18) via helm/values.yaml under deployment. before resources. Would that work for you?

Jepp, that would be OK for me.

Also:

  • changed the base branch to develop (merged to master for releases)
  • we should rename the commit for semantic commits, maybe feat: expose security context and annotations in values.yaml
  • have you tested on Openshift / OKD? We should add a note in the docs then.

The patched version is running in an OpenShift 4.6 cluster and in an OKD 4.7 cluster without problems (I'm only checking specific namespaces!).

Let me know if I should support!

Thx ;-)

:peter

@xopham xopham force-pushed the openshift-pp branch 4 times, most recently from 679e890 to e67bde3 Compare October 1, 2021 16:10
xopham
xopham previously approved these changes Oct 1, 2021
phbelitz
phbelitz previously approved these changes Oct 5, 2021
…ft 4

Co-Authored-By: Christoph Hamsen <hamsen.christoph@posteo.de>
Signed-off-by: Philipp Belitz <philipp.belitz@securesystems.de>
@phbelitz phbelitz merged commit 4bfa468 into sse-secure-systems:develop Oct 5, 2021
@pflaeging pflaeging deleted the openshift-pp branch November 9, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants