Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

unknown field "dataLogDirSize" #482

Closed
FIAV1 opened this issue Dec 10, 2020 · 9 comments
Closed

unknown field "dataLogDirSize" #482

FIAV1 opened this issue Dec 10, 2020 · 9 comments

Comments

@FIAV1
Copy link
Contributor

FIAV1 commented Dec 10, 2020

Hi, I'm getting the following error when i try to install the deploy:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(StatefulSet.spec.template.spec.containers[1].securityContext): unknown field "dataLogDirSize" in io.k8s.api.core.v1.SecurityContext

Step to reproduce:

# Add confluent charts repo
 helm repo add confluentinc https://confluentinc.github.io/cp-helm-charts/

# Update helm repos
helm repo update

# Install confluent platform
helm install confluent-platform confluentinc/cp-helm-charts

Software versions:

  • Kubernetes v1.19.4
  • Helm v3.4.1
@landyrev
Copy link

same on gke 1.16.15 and helm v3.2.1

@hobbsh
Copy link

hobbsh commented Dec 10, 2020

It's because they removed the value. You can pin to 0.5.0 but I'm assuming this needs to be PR'd and fixed if it was unintentional.

@FIAV1
Copy link
Contributor Author

FIAV1 commented Dec 10, 2020

Ok, found the problem. The property has been moved under securityContext, so it isn't recognized as a valid property. I'll go on with a PR, hoping it will be merged soon.

@gAmUssA
Copy link
Contributor

gAmUssA commented Dec 10, 2020

Folks sorry for the inconvenience. @FIAV1 thanks for the fix
I will make a binary package release soon

@gAmUssA gAmUssA closed this as completed Dec 10, 2020
gAmUssA pushed a commit that referenced this issue Dec 10, 2020
- there was at the regression #482
@hobbsh
Copy link

hobbsh commented Dec 10, 2020

@gAmUssA it might help to implement e2e testing with kind and chart-testing to catch issues like this: https://github.com/helm/charts/tree/master/test

@gAmUssA
Copy link
Contributor

gAmUssA commented Dec 14, 2020

looks interesting @hobbsh
Do you want to take a stab and implement a prototype/poc? I gladly work with on this.

@hobbsh
Copy link

hobbsh commented Dec 14, 2020

@gAmUssA Sure, I've done a lot of work with these tools so it shouldn't be a problem. Most of the work will likely revolve around fighting with the Jenkinsfile 😁

@gAmUssA
Copy link
Contributor

gAmUssA commented Dec 14, 2020

@hobbsh lol. I would avoid jenkins and would try to run this on semaphore CI (some cnfl projects use this) or cirrius CI (and i use this in my personal projects).

@hobbsh
Copy link

hobbsh commented Dec 14, 2020

@hobbsh lol. I would avoid jenkins and would try to run this on semaphore CI (some cnfl projects use this) or cirrius CI (and i use this in my personal projects).

Ok great, I didn't know if that was possible or not. And glad we can avoid Jenkins! Thanks for clarifying!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants