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

eck/eck-operator fips and ubi #8204

Closed
ke5C2Fin opened this issue Nov 14, 2024 · 1 comment · Fixed by #8272
Closed

eck/eck-operator fips and ubi #8204

ke5C2Fin opened this issue Nov 14, 2024 · 1 comment · Fixed by #8272
Assignees
Labels
>bug Something isn't working v2.16.0

Comments

@ke5C2Fin
Copy link

ke5C2Fin commented Nov 14, 2024

Default image is eck/eck-operator:2.15.0.
https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s_installation.html#k8s_fips_compliant_installation_using_helm
This document says to set image.repository=docker.elastic.co/eck/eck-operator-fips, which gives us this image eck/eck-operator-fips:2.15.0.
If we do not do that, but we set config.ubiOnly=true, we get this image eck/eck-operator-ubi:2.15.0.
However, if we set both fips and ubi we get this image eck/eck-operator-fips-ubi:2.15.0, which doesn't exist because the actual image is eck/eck-operator-ubi-fips:2.15.0.

@ke5C2Fin ke5C2Fin changed the title eck/eck-operator eck/eck-operator fips and ubi Nov 14, 2024
@botelastic botelastic bot added the triage label Nov 14, 2024
@thbkrkr thbkrkr added the >bug Something isn't working label Nov 15, 2024
@botelastic botelastic bot removed the triage label Nov 15, 2024
@thbkrkr
Copy link
Contributor

thbkrkr commented Nov 15, 2024

Thank you for reporting this. The issue is indeed a bug in how the Helm chart constructs the image name when it contains -fips and config.ubiOnly is enabled. We’ll work on resolving this. In the meantime, I think you can use the following workaround:

helm install elastic-operator elastic/eck-operator \
  -n elastic-system --create-namespace \
  --set=image.repository=docker.elastic.co/eck/eck-operator-ubi-fips \
  --set=config.containerSuffix=-ubi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working v2.16.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants