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 4 compatibility #63

Closed
mhutter opened this issue Oct 19, 2021 · 0 comments · Fixed by #64
Closed

OpenShift 4 compatibility #63

mhutter opened this issue Oct 19, 2021 · 0 comments · Fixed by #64
Labels
bug Something isn't working

Comments

@mhutter
Copy link
Member

mhutter commented Oct 19, 2021

Describe the bug

When running against OCP4, I get deprecation errors and the seiso aborts due to an error.

Additional context

Target is an OCP 4.8 cluster

Logs

seiso configmap --delete --older-than 3w -l app=waf-${APP_NAME} -l component=waf -l environment=${ENVIRONMENT}
level=info msg="Seiso 0.8.0, commit dbf5fecf9e58205d529e12ed2a37bb85956cf4a1, date 2021-05-07T13:26:38Z"
W1019 16:35:33.924140      75 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W1019 16:35:34.159983      75 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W1019 16:35:34.326158      75 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W1019 16:35:34.521664      75 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W1019 16:35:34.726626      75 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
Error: could not retrieve unused config maps for 'tpl-masterdata-development': the server could not find the requested resource

Expected behavior

Seiso not aborting :)

To Reproduce

  1. Commands
seiso configmap --delete --older-than 3w 

Environment (please complete the following information):

  • Image Version: e.g. 0.8.0
  • K8s Version: e.g. v1.21
  • K8s Distribution: e.g. OpenShift 4
@mhutter mhutter added the bug Something isn't working label Oct 19, 2021
TheBigLee added a commit that referenced this issue Nov 3, 2021
TheBigLee added a commit that referenced this issue Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant