engapa/zookeeper-k8s-openshift

file zk-persistent existing problem

post707 opened this issue · 1 comments

There is a problem with your file format

volumeClaimTemplates and securityContext field are wrong

[*]-persistent.yaml files were tested within Openshift (3.6, 3.7) and both of them were deployed successfully.

For kubernetes, you're right:

$ kubectl create -f zk-persistent.yaml
error: error validating "zk-persistent.yaml": error validating data: [found invalid field volumeClaimTemplates for v1.PodTemplateSpec, found invalid field fsGroup for v1.SecurityContext]; if you choose to ignore these errors, turn validation off with --validate=false

I've just pushed a commit to solve this error, thanks a lot for report that ;-)