DigitalOcean
このプロバイダーは、動作するためにKubernetesのSecret
リソースを使用します。次の例では、Secret
はdigitalocean-dns
という名前でなければならず、サブキーaccess-token
にトークンが含まれている必要があります。例:
apiVersion: v1kind: Secretmetadata:name: digitalocean-dnsdata:# insert your DO access token hereaccess-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/v1kind: Issuermetadata:name: example-issuerspec:acme:...solvers:- dns01:digitalocean:tokenSecretRef:name: digitalocean-dnskey: access-token