Bootstraps the empty repo into a kubebuilder go/v4 project: group crawl.example.com, version v1alpha1, kind Proxy (namespaced). Keeps the existing module path and preserves the repo's Go/testing/changelog conventions from CLAUDE.md untouched. Drops the scaffolded GitHub Actions workflows since the remote is Gitea, not GitHub. Everything else is default kubebuilder output, unmodified, so later diffs stay reviewable against a known baseline. Full implementation plan: docs/plans/2026-08-07-1747-proxy-operator.md Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
553 B
YAML
20 lines
553 B
YAML
# Patch for Prometheus ServiceMonitor to enable secure TLS configuration
|
|
# using certificates managed by cert-manager
|
|
- op: replace
|
|
path: /spec/endpoints/0/tlsConfig
|
|
value:
|
|
# SERVICE_NAME and SERVICE_NAMESPACE will be substituted by kustomize
|
|
serverName: SERVICE_NAME.SERVICE_NAMESPACE.svc
|
|
insecureSkipVerify: false
|
|
ca:
|
|
secret:
|
|
name: metrics-server-cert
|
|
key: ca.crt
|
|
cert:
|
|
secret:
|
|
name: metrics-server-cert
|
|
key: tls.crt
|
|
keySecret:
|
|
name: metrics-server-cert
|
|
key: tls.key
|