Skip to content

cert-manager for api-service cert#76

Closed
steiler wants to merge 6 commits into
mainfrom
cert-manager-api-cert
Closed

cert-manager for api-service cert#76
steiler wants to merge 6 commits into
mainfrom
cert-manager-api-cert

Conversation

@steiler
Copy link
Copy Markdown
Contributor

@steiler steiler commented Jan 26, 2024

This PR introduces cert-manager for the creation of the root CA that is then used to generate a certificate for the config-server api-server.

The pre-requisite is to have cert-manager installed via e.g.

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.3/cert-manager.yaml

@steiler steiler force-pushed the cert-manager-api-cert branch from f6323d2 to 3b73b0c Compare February 5, 2024 10:36
@steiler steiler linked an issue Feb 26, 2024 that may be closed by this pull request
@henderiw
Copy link
Copy Markdown
Contributor

@steiler when I try this I get these errors. The API server is up but the caches don't sync

{"level":"error","ts":"2024-02-27T15:57:07.97663375Z","logger":"controller-runtime.source.EventHandler","msg":"failed to get informer from cache","error":"failed to get API group resources: unable to retrieve the complete list of server APIs: config.sdcio.dev/v1alpha1: the server is currently unable to handle the request","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.0/pkg/internal/source/kind.go:68\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func2\n\t/go/pkg/mod/k8s.io/apimachinery@v0.28.6/pkg/util/wait/loop.go:73\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext\n\t/go/pkg/mod/k8s.io/apimachinery@v0.28.6/pkg/util/wait/loop.go:74\nk8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel\n\t/go/pkg/mod/k8s.io/apimachinery@v0.28.6/pkg/util/wait/poll.go:33\nsigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.0/pkg/internal/source/kind.go:56"}
{"level":"error","ts":"2024-02-27T15:57:07.97731558Z","logger":"controller-runtime.source.EventHandler","msg":"failed to get informer from cache","error":"failed to get API group resources: unable to retrieve the complete list of server APIs: config.sdcio.dev/v1alpha1: the server is currently unable to handle the request","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.0/pkg/internal/source/kind.go:68\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func2\n\t/go/pkg/mod/k8s.io/apimachinery@v0.28.6/pkg/util/wait/loop.go:73\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext\n\t/go/pkg/mod/k8s.io/apimachinery@v0.28.6/pkg/util/wait/loop.go:74\nk8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel\n\t/go/pkg/mod/k8s.io/apimachinery@v0.28.6/pkg/util/wait/poll.go:33\nsigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.0/pkg/internal/source/kind.go:56"}

@alexandernorth
Copy link
Copy Markdown
Contributor

I would close this in favour of #447

@steiler steiler closed this May 20, 2026
@github-project-automation github-project-automation Bot moved this from In progress to Done in SDC project May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

discuss: handle certificates handling + mTLS

3 participants