Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cert-manager

БесплатноБез исполняемых скриптовНе проверен

cert-manager issues and renews TLS certificates automatically inside Kubernetes, from Let's Encrypt (ACME) or a private CA. Use when someone asks to "get…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

cert-manager

Overview

cert-manager adds Issuer, ClusterIssuer and Certificate resources to Kubernetes. A Certificate asks an issuer for a key pair, stores it in a Secret, and renews it before it expires. Issuers can be ACME (Let's Encrypt, ZeroSSL), a private CA stored in a Secret, self-signed, Vault and others. The current release is v1.21.3. Let's Encrypt validation is either HTTP-01 (an /.well-known/acme-challenge path served through your ingress) or DNS-01 (a TXT record; required for wildcards).

Instructions

1. Install

The project recommends the OCI chart (the Jetstack HTTP repository is updated a few hours after each release):

helm install cert-manager oci://quay.io/jetstack/charts/cert-manager \
  --version v1.21.3 \
  --namespace cert-manager \
  --create-namespace \
  --set crds.enabled=true
kubectl get pods -n cert-manager

With the legacy repository: helm repo add jetstack https://charts.jetstack.io --force-update and jetstack/cert-manager. crds.enabled=true installs the CRDs with the chart (the old installCRDs value is replaced by it). Never install cert-manager as a subchart. Verify the API with cmctl check api (brew install cmctl or the release binary from GitHub).

2. ClusterIssuers for Let's Encrypt

Start with staging (untrusted certificates, generous rate limits), then switch to production:

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
spec:
  acme:
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    email: [email protected]
    privateKeySecretRef:
      name: letsencrypt-staging-account-key
    solvers:
      - http01:
          ingress:
            ingressClassName: nginx
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-prod
spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: [email protected]
    privateKeySecretRef:
      name: letsencrypt-prod-account-key
    solvers:
      - http01:
          ingress:
            ingressClassName: nginx

Use ingressClassName; the older class field is the legacy form. The email receives account notices. Optional profile: tlsserver (cert-manager 1.18+) asks Let's Encrypt for its 45-day, no-Common-Name certificates; unset means the classic 90-day profile. A profile name the server does not know produces an error on the Order, so check the directory (curl -fsSL https://acme-v02.api.letsencrypt.org/directory) first.

3. DNS-01 (wildcards, private clusters)

Wildcards need DNS-01. Solvers are matched by selector, so one issuer can use HTTP-01 for most names and DNS-01 for one zone:

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-dns
spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: [email protected]
    privateKeySecretRef:
      name: letsencrypt-dns-account-key
    solvers:
      - selector:
          dnsZones:
            - northwind-shop.io
        dns01:
          route53:
            region: eu-west-1
            hostedZoneID: Z0412345ABCDEFGHIJKLM

With Route 53 leave out access keys when cert-manager runs with EKS Pod Identity or IRSA (ambient credentials, used by ClusterIssuer only by default); otherwise reference a Secret with accessKeyIDSecretRef and secretAccessKeySecretRef. Other providers use cloudDNS, cloudflare, azureDNS, or a webhook solver. Give the DNS identity access to that zone only.

4. Certificates

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: wildcard-northwind-shop
  namespace: default
spec:
  secretName: wildcard-northwind-shop-tls
  issuerRef:
    name: letsencrypt-dns
    kind: ClusterIssuer
  dnsNames:
    - northwind-shop.io
    - "*.northwind-shop.io"
  duration: 2160h      # 90 days requested; Let's Encrypt decides the real lifetime
  renewBefore: 720h    # start renewing 30 days before expiry
  privateKey:
    algorithm: ECDSA
    size: 256
    rotationPolicy: Always   # the default, shown for clarity

List names in dnsNames; avoid commonName on leaf certificates (the docs advise against it). Durations use Go syntax (h, m, s, no days). Let's Encrypt ignores duration and issues what its profile defines (90 days for classic, 45 for tlsserver), and renewBefore must be shorter than that lifetime.

5. Internal CA

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: selfsigned-bootstrap
spec:
  selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: internal-ca
  namespace: cert-manager
spec:
  isCA: true
  commonName: northwind-internal-ca
  secretName: internal-ca-secret
  issuerRef:
    name: selfsigned-bootstrap
    kind: ClusterIssuer
  privateKey:
    algorithm: ECDSA
    size: 256
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: internal-ca-issuer
spec:
Полный SKILL.md на GitHub

Установить cert-manager в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл cert-manager?

cert-manager issues and renews TLS certificates automatically inside Kubernetes, from Let's Encrypt (ACME) or a private CA. Use when someone asks to "get HTTPS on my Kubernetes ingress", "set up Let's Encrypt in a cluster", "create a ClusterIssuer", "issue a wildcard certificate", "renew a certificate" or "debug a certificate stuck in pending".

Как установить скилл cert-manager?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cert-manager запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cert-manager с