Difference between revisions of "Kind: ClusterIssuer"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
https://cert-manager.io/docs/tutorials/getting-started-aks-letsencrypt/
 
https://cert-manager.io/docs/tutorials/getting-started-aks-letsencrypt/
<pre>
+
 
# clusterissuer-lets-encrypt-staging.yaml
+
# clusterissuer-lets-encrypt-staging.yaml
apiVersion: cert-manager.io/v1
+
apiVersion: [[cert-manager.io]]/v1
kind: ClusterIssuer
+
kind: ClusterIssuer
metadata:
+
metadata:
  name: letsencrypt-staging
+
  name: letsencrypt-staging
spec:
+
spec:
  acme:
+
  acme:
    server: https://acme-staging-v02.api.letsencrypt.org/directory
+
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    email: $EMAIL_ADDRESS
+
    email: $EMAIL_ADDRESS
    privateKeySecretRef:
+
    privateKeySecretRef:
      name: letsencrypt-staging
+
      name: letsencrypt-staging
    solvers:
+
    solvers:
    - dns01:
+
    - dns01:
        azureDNS:
+
        azureDNS:
          resourceGroupName: $AZURE_DEFAULTS_GROUP
+
          resourceGroupName: $AZURE_DEFAULTS_GROUP
          subscriptionID: $AZURE_SUBSCRIPTION_ID
+
          subscriptionID: $AZURE_SUBSCRIPTION_ID
          hostedZoneName: $DOMAIN_NAME
+
          hostedZoneName: $DOMAIN_NAME
          environment: AzurePublicCloud
+
          environment: AzurePublicCloud
          managedIdentity:
+
          managedIdentity:
            clientID: $USER_ASSIGNED_IDENTITY_CLIENT_ID
+
            clientID: $USER_ASSIGNED_IDENTITY_CLIENT_ID
</pre>
+
 
  
  

Revision as of 12:05, 9 February 2024


https://cert-manager.io/docs/tutorials/getting-started-aks-letsencrypt/

# clusterissuer-lets-encrypt-staging.yaml
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
spec:
  acme:
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    email: $EMAIL_ADDRESS
    privateKeySecretRef:
      name: letsencrypt-staging
    solvers:
    - dns01:
        azureDNS:
          resourceGroupName: $AZURE_DEFAULTS_GROUP
          subscriptionID: $AZURE_SUBSCRIPTION_ID
          hostedZoneName: $DOMAIN_NAME
          environment: AzurePublicCloud
          managedIdentity:
            clientID: $USER_ASSIGNED_IDENTITY_CLIENT_ID




kind: Certificate, kind: Order, kind: Challenge

Advertising: