Failed to create subnamespace due to service "webhook-service" not found
#139
Labels
bug
Something isn't working
service "webhook-service" not found
#139
Describe the bug
A setup where CRD is installed separately and accurate itself is managed by helm is described in the documentation.
https://github.com/cybozu-go/accurate/tree/v1.3.0/charts/accurate#installing-customresourcedefinitions-optional
However, setting up in this way fails with the following error.
Environments
To Reproduce
Steps to reproduce the behavior:
kind create cluster --name accurate
curl -fsL https://github.com/cert-manager/cert-manager/releases/download/v1.15.0/cert-manager.yaml | kubectl apply -f -
kustomize build https://github.com/cybozu-go/accurate/config/crd | kubectl apply -f -
installCRDs=false
helm repo add accurate https://cybozu-go.github.io/accurate/
helm repo update
helm install --create-namespace --namespace accurate --set installCRDs=false accurate accurate/accurate
Expected behavior
accurate works and sub namespaces are created.
Additional context
This occurs because accurate uses helm templates to make some of the CRDs variable and the CRDs installed through this procedure are different from the CRDs installed through helm.
accurate/charts/accurate/templates/generated/crds.yaml
Lines 4 to 24 in e09d427
I want the documentation to say what changes should be made to the CRD.
The text was updated successfully, but these errors were encountered: