新機能:プロジェクトの最新情報についてはTwitterMastodonでご確認ください。

DigitalOcean

このプロバイダーは、動作するためにKubernetesのSecretリソースを使用します。次の例では、Secretdigitalocean-dnsという名前でなければならず、サブキーaccess-tokenにトークンが含まれている必要があります。例:

apiVersion: v1
kind: Secret
metadata:
name: digitalocean-dns
data:
# insert your DO access token here
access-token: "base64 encoded access-token here"

アクセストークンには書き込みアクセス権限が必要です。

パーソナルアクセストークンを作成するには、DigitalOceanのドキュメントを参照してください。

便利なダイレクトリンク:https://cloud.digitalocean.com/account/api/tokens/new

アクセストークンをbase64でエンコードするには、以下を使用できます。

echo -n 'your-access-token' | base64
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: example-issuer
spec:
acme:
...
solvers:
- dns01:
digitalocean:
tokenSecretRef:
name: digitalocean-dns
key: access-token