Marc Sluiter
He / Him / His
Principal Software Engineer
Red Hat GmbH, Registered seat: Werner von Siemens Ring 12, D-85630 Grasbrunn, Germany
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,
Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross
--
You received this message because you are subscribed to the Google Groups "medik8s" group.
To unsubscribe from this group and stop receiving emails from it, send an email to medik8s+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/medik8s/325f6f53-ae18-4aac-ac52-9b57bfe66013n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Marc! I use helmify, and it does create a new helm package.After installing the new helm package, it failed with creating pod 'node-maintenance-operator-controller-manager-777694c5c6-lt745' with this error:" Warning FailedMount 25s (x7 over 56s) kubelet MountVolume.SetUp failed for volume "cert" : secret "webhook-server-cert" not found"This secret 'webhook-server-cert' only shows up once in file `deployment.yaml` in the generated helm chart. Not sure what is the purpose of this secret, could you please explain? not sure how to create it properly..Thanks,Hai
You received this message because you are subscribed to a topic in the Google Groups "medik8s" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/medik8s/_X5YVLQanLU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to medik8s+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/medik8s/a2db3056-39c0-44f5-8c5a-592099476663n%40googlegroups.com.
HELMIFY ?= $(LOCALBIN)/helmify .PHONY: helmify helmify: $(HELMIFY) ## Download helmify locally if necessary. $(HELMIFY): $(LOCALBIN) test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@latest helm: manifests kustomize helmify $(KUSTOMIZE) build config/default | $(HELMIFY)
To view this discussion on the web visit https://groups.google.com/d/msgid/medik8s/CAJ1%3DnZcHeUvUZqvysFeGfhg%3Di6BfDaQYWE3dmLu6Zfz3VdtQoA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/medik8s/CAJ1%3DnZc4yw%3Dy%3D6XcB9xzvsqaFu7YZNrpmpJN0nMTaAR7qhhSKQ%40mail.gmail.com.
I couldn't do the above easily from the air-gapped network..I basically cloned ./config/default as you mentioned to be ./config/vanilla, and cloned ./config/crd to be ./config/vanilla_crd, and uncommented all related lines for certmanager and webhook, and added hemify lines in Makefile to ensure 'make helm' would use ./config/vanilla instead, and got the exact same error.And if we look at this file 'https://github.com/medik8s/node-maintenance-operator/blob/main/config/default/webhookcainjection_patch.yaml', we could see that it has both 'MutatingWebhookConfiguration' and 'ValidatingWebhookConfiguration'. But in file 'https://github.com/medik8s/node-maintenance-operator/blob/main/config/webhook/manifests.yaml', there's only 'ValidatingWebhookConfiguration' defined here.
It seems the above 'ValidatingWebhookConfiguration' would be auto generated here at 'https://github.com/medik8s/node-maintenance-operator/blob/main/api/v1beta1/nodemaintenance_webhook.go' via line '//+kubebuilder:webhook:path=/validate-nodemaintenance-medik8s-io-v1beta1-nodemaintenance,mutating=false,failurePolicy=fail,sideEffects=None,groups=nodemaintenance.medik8s.io,resources=nodemaintenances,verbs=create;update,versions=v1beta1,name=vnodemaintenance.kb.io,admissionReviewVersions=v1', and it has 'mutating=false'.Does this mean the code should not have 'MutatingWebhookConfiguration' in 'webhookcainjection_patch.yaml'?
To view this discussion on the web visit https://groups.google.com/d/msgid/medik8s/CAJ1%3DnZezwyYbPKwu06%3DzZV0bn%2BD-BbeCqCmEYDnAzCGKV8a-sw%40mail.gmail.com.
$ cat config/samples/nodemaintenance_v1beta1_nodemaintenance.yaml apiVersion: nodemaintenance.medik8s.io/v1beta1 kind: NodeMaintenance metadata: name: nodemaintenance-sample spec: nodeName: node02 reason: "Test node maintenance"