mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-10 17:39:43 +00:00
cert-manager: updating resources to match v0.11
This commit is contained in:
parent
0a91cb619e
commit
cd46e5888d
3 changed files with 9 additions and 4 deletions
|
|
@ -3,12 +3,14 @@
|
|||
install nginx-ingress
|
||||
|
||||
$ helm dep update apps/system/nginx-ingress
|
||||
$ kubectl --context=gullfaxi create ns nginx-ingress
|
||||
$ helm template --name nginx-ingress --namespace nginx-ingress apps/system/nginx-ingress | kubectl --context=gullfaxi --namespace nginx-ingress apply -f -
|
||||
|
||||
install cert-manager with cluster issuer
|
||||
|
||||
$ helm repoadd jetstack https://charts.jetstack.io
|
||||
$ helm repo add jetstack https://charts.jetstack.io
|
||||
$ helm dep update apps/system/cert-manager
|
||||
$ kubectl --context=gullfaxi create ns cert-manager
|
||||
$ helm template --name cert-manager --namespace cert-manager apps/system/cert-manager | kubectl --context=gullfaxi --namespace cert-manager apply -f -
|
||||
|
||||
install argocd
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
apiVersion: certmanager.k8s.io/v1alpha1
|
||||
apiVersion: cert-manager.io/v1alpha2
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: argocd
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: certmanager.k8s.io/v1alpha1
|
||||
apiVersion: cert-manager.io/v1alpha2
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: letsencrypt
|
||||
|
|
@ -8,4 +8,7 @@ spec:
|
|||
email: gorilych@gmail.com
|
||||
privateKeySecretRef:
|
||||
name: letsencrypt
|
||||
http01: {}
|
||||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
class: nginx
|
||||
|
|
|
|||
Loading…
Reference in a new issue