Closed baurmatt closed 4 years ago
Hey @baurmatt - thank you for reporting it. Support for Helm v3 is still to be planned. It should happen in the next few months.
Let me check with the rest of the team whether we can plan for supporting both Helm versions simultaneously.
@baurmatt Could you please test the early Helm v3 support in the chart: https://github.com/Xtigyro/puppetserver-helm-chart/tree/v300
@Xtigyro - This was happening for me too and I tried this branch (I'm using latest Argo which has Helm 3 and set the targetRevision to that branch) and all has worked for me so far, although I haven't tested much.
@Xtigyro - This was happening for me too and I tried this branch (I'm using latest Argo which has Helm 3 and set the targetRevision to that branch) and all has worked for me so far, although I haven't tested much.
@cretz Very nice - thank you for testing it! I appreciate it.
@Xtigyro - I may have spoken too soon, I get this when setting r10k.code.viaSsh.credentials.existingSecret
and r10k.hiera.viaSsh.credentials.existingSecret
:
ValidationError(CronJob.spec.jobTemplate.spec.template.spec.volumes[2].secret): unknown field "fsGroup" in io.k8s.api.core.v1.SecretVolumeSource
Unsure if related to Helm version, if not, I can create another issue.
@Xtigyro - I may have spoken too soon, I get this when setting
r10k.code.viaSsh.credentials.existingSecret
andr10k.hiera.viaSsh.credentials.existingSecret
:ValidationError(CronJob.spec.jobTemplate.spec.template.spec.volumes[2].secret): unknown field "fsGroup" in io.k8s.api.core.v1.SecretVolumeSource
Unsure if related to Helm version, if not, I can create another issue.
@cretz Seems plausible. Will test that. Thanks!
Made fork, removed erroneous fsGroup fields from secret volume source, now getting this for puppet server pod:
MountVolume.SetUp failed for volume "init-compilers-volume" : configmap "init-compilers-config" not found
Presumably because I've left puppetserver.multiCompilers.enabled
as its default false
EDIT: After putting conditional around that setting, chart works. Thanks.
@Xtigyro - I may have spoken too soon, I get this when setting
r10k.code.viaSsh.credentials.existingSecret
andr10k.hiera.viaSsh.credentials.existingSecret
:ValidationError(CronJob.spec.jobTemplate.spec.template.spec.volumes[2].secret): unknown field "fsGroup" in io.k8s.api.core.v1.SecretVolumeSource
Unsure if related to Helm version, if not, I can create another issue.
@cretz Seems plausible. Will test that. Thanks!
@cretz Could you please retest - a fix has been pushed?
@Xtigyro - See the comment above yours with another issue. With puppetserver.multiCompilers.enabled
as false, you get that config map error still on your latest branch. I fixed it in my local fork by putting a condition around that volume in the deployment yaml.
@Xtigyro - See the comment above yours with another issue. With
puppetserver.multiCompilers.enabled
as false, you get that config map error still on your latest branch. I fixed it in my local fork by putting a condition around that volume in the deployment yaml.
@cretz Yes, saw it but fixing any bugs one by one - so we don't introduce anything unexpected. Will work on that tomorrow.
Thanks!
@Xtigyro - See the comment above yours with another issue. With
puppetserver.multiCompilers.enabled
as false, you get that config map error still on your latest branch. I fixed it in my local fork by putting a condition around that volume in the deployment yaml.@cretz Yes, saw it but fixing any bugs one by one - so we don't introduce anything unexpected. Will work on that tomorrow.
Thanks!
@cretz Fixed - it had nothing to do with the migration to Helm v3, still good. Thank you!
@baurmatt @cretz Helm v3 support has been released.
Describe the Bug
If I want to install the k8s pupperware Helm chart with Helm 3, the following error occurs:
Expected Behavior
Runs with Helm 3
Steps to Reproduce
Environment
Additional Context
Add any other context about the problem here.