mirror of
				https://github.com/gravitl/netmaker.git
				synced 2025-10-31 04:06:37 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			666 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			666 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # before applying, run the following: microk8s kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.4.0/cert-manager.yaml
 | |
| apiVersion: cert-manager.io/v1alpha2
 | |
| kind: ClusterIssuer
 | |
| metadata:
 | |
|   name: letsencrypt-prod
 | |
|   namespace: cert-manager
 | |
| spec:
 | |
|   acme:
 | |
|     # The ACME server URL
 | |
|     server: https://acme-v02.api.letsencrypt.org/directory
 | |
|     # Email address used for ACME registration
 | |
|     email: YOUR_EMAIL
 | |
|     # Name of a secret used to store the ACME account private key
 | |
|     privateKeySecretRef:
 | |
|       name: letsencrypt-prod
 | |
|     # Enable the HTTP-01 challenge provider
 | |
|     solvers:
 | |
|     - http01:
 | |
|         ingress:
 | |
|           class: public
 | 
