/kube-dc:manage-certificatesfrom kube-dc
Requests and manages Project-scoped ManagedCertificates for private PKI or public ACME issuance, producing Kubernetes TLS Secrets for server TLS, mTLS, or code signing.
Ships in kube-dc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use ManagedCertificate when an application needs an explicitly managed
X.509 certificate for server TLS, client authentication, mTLS, or code signing.
Gateway HTTPS exposure is a separate flow. With the expose-service skill, the
platform creates the route and a cert-manager Certificate from the platform
issuer; it does not create a ManagedCertificate.
{organization}-{project}.Organization.spec.security.certificateDomains.ManagedCertificate currently rejects IP SANs even though the CRD reserves an
ipAddresses field. Use allowed DNS names.
| Type | Use |
|---|---|
private | Internal TLS, mTLS, clients, or code signing through the Organization intermediate CA |
public | Browser/public trust through the configured ACME issuer |
Private certificates are not publicly trusted. Distribute the Organization trust chain to each client that must validate them. Managed Clusters do not receive that trust chain automatically.
apiVersion: security.kube-dc.com/v1alpha1
kind: ManagedCertificate
metadata:
name: api-tls
namespace: "{backing-namespace}"
spec:
type: private # private | public
purpose: server # server | client | mtls | code-signing
dnsNames:
- api.production.internal
duration: 90d
renewBefore: 15d
targetSecretName: api-tls
Use managed-certificate-template.yaml for an annotated version.
CLI examples:
kube-dc certificates request api-tls \
--type=public \
--target=api-tls \
--dns=api.example.com
kube-dc certificates request worker-mtls \
--type=private \
--purpose=mtls \
--target=worker-mtls \
--dns=worker.production.internal
If targetSecretName is omitted from a raw resource, admission defaults it to
{managed-certificate-name}-tls.
| Role | View | Request | Renew existing | Delete |
|---|---|---|---|---|
admin | Yes | Yes | Yes | Yes |
developer | Yes | Yes | Yes | Yes |
project-manager | Yes | No | Yes | No |
user | Yes | No | No | No |
Issuance happens in the platform controller; users never receive the issuing CA private key.
A Ready certificate produces a kubernetes.io/tls Secret with tls.crt
and tls.key. Private certificates also include ca.crt.
spec:
containers:
- name: app
volumeMounts:
- name: tls
mountPath: /etc/tls
readOnly: true
volumes:
- name: tls
secret:
secretName: api-tls
For a Gateway resource you manage yourself, reference this Secret from the
listener's certificateRefs. For Kube-DC Service exposure, set
service.nlb.kube-dc.com/tls-secret to consume an existing compatible Secret.
kube-dc certificates list
kube-dc certificates get api-tls
kubectl get mcert api-tls -n {backing-namespace} -o yaml
# Request an early reissuance.
kube-dc certificates renew api-tls
The controller normally renews renewBefore ahead of expiry. cert-manager
updates the Secret in place. Applications reading a Secret volume must reload
the certificate; environment variables do not update in running containers.
kube-dc certificates delete api-tls --yes
Deleting a ManagedCertificate removes its owned cert-manager Certificate. The target Secret can remain because cert-manager Secret owner references are not enabled on every installation. Move consumers first, then verify and delete any retained Secret explicitly when it is no longer needed.
kubectl get mcert api-tls -n {backing-namespace} \
-o jsonpath='{.status.conditions[?(@.type=="Ready")].status}{"\t"}{.status.notAfter}{"\n"}'
kubectl get secret api-tls -n {backing-namespace} \
-o jsonpath='{.type}{"\n"}'
On failure, inspect ManagedCertificate conditions, events, and the underlying cert-manager Certificate. Typical causes are:
renewBefore not shorter than duration.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kube-dc/kube-dc-public --plugin kube-dcOther plugins' skills for the same job
18 skills in this plugin
/check-quotaCheck Kube-DC Organization and Project quota before creating workloads, VMs, databases, Managed Clusters, public IPs, or storage./create-databaseCreate a managed database (PostgreSQL, MySQL, MariaDB, ClickHouse) or Valkey cache in a Kube-DC Project as a ManagedService, deliver its credential to workloads with a ServiceBinding Secret, and prepare backup and restore workflows./create-projectCreate a Kube-DC Project inside an existing Organization. Covers network selection, quota preflight, the Project manifest, and readiness verification./create-vmCreate a KubeVirt virtual machine in a Kube-DC Project using the live OS catalog, Project networking, supported storage, and the generated SSH keypair./deploy-appDeploy a containerized application to a Kube-DC Project as an Application (apps.kube-dc.com) or a plain workload, with optional persistent storage, a managed database, external exposure, or gated Shared GPU acceleration; set up keyless deploys, builds on push and pull request previews from a GitHub repository, with a managed container registry or the user's own; roll back, pause and inspect builds./deploy-web-stackDeploy a complete web application in a Kube-DC Project — a managed database (PostgreSQL, MySQL or MariaDB) with delivered credentials, an optional persistent volume, and an HTTPS hostname with a platform certificate through the shared Gateway, without a public IP. Use for WordPress, CMSs, APIs and any app that needs a database and a URL.