https://garden.io logo
cert-manager gives error in Docker-desktop
b

bright-policeman-43626

01/13/2023, 5:31 PM
Hey there! tried to install cert-manager using docker-desktop (local-kubernetes) but encountered the following issues; apparently this installation of kubernetes don't have the required CRD's?
unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "APIService" in version "apiregistration.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
unable to recognize "STDIN": no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
Docker version:
docker --version
Docker version 20.10.20, build 9fdeb9c
Also another question, do you guys have experiences by using Garden to generate Custom certificates self-signed? We need TLS but our installations are ephemeral (shared between multiple pc's as everything works locally).
a

ancient-diamond-80011

01/16/2023, 8:09 AM
i'll look into this - as mentioned in the other thread we're deprecating the garden-builtin
certManager
integration, and we should create an example configuration on how to set it up manually as a garden module
q

quaint-dress-831

01/16/2023, 6:33 PM
If you're not dead-set on cert-manager, I'd take a look at KCert, which I suggest to another user also wrangling cert-manager. It's a lot simpler architecturally: https://discord.com/channels/817392104711651328/1059846096697958400/1060399866309783722
b

bright-policeman-43626

01/16/2023, 8:14 PM
I’m actually looking for something a little bit different, I’m using garden for local-development and I need https in order to develop with AWS cognito, sadly I can’t have a static certificate as they will rotate everytime a developer issues a certificate so letsencrypt is out of the scope, probably will need to develop a way to provision self-signed certs within Garden boundaries, will share my finds if I make it! Thanks a lot @ancient-diamond-80011 @quaint-dress-831
a

ancient-diamond-80011

01/17/2023, 2:19 PM
(adding the tracking issue to this thread as well, just in case someone is searching for cert-manager stuff and ends up here https://github.com/garden-io/garden/issues/3521 )
b

bright-policeman-43626

01/17/2023, 2:21 PM
yep let's redirect everyone to it's deprecation and future demo