mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59: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
|
install nginx-ingress
|
||||||
|
|
||||||
$ helm dep update apps/system/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 -
|
$ 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
|
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
|
$ 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 -
|
$ helm template --name cert-manager --namespace cert-manager apps/system/cert-manager | kubectl --context=gullfaxi --namespace cert-manager apply -f -
|
||||||
|
|
||||||
install argocd
|
install argocd
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
apiVersion: cert-manager.io/v1alpha2
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd
|
name: argocd
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
apiVersion: cert-manager.io/v1alpha2
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
name: letsencrypt
|
name: letsencrypt
|
||||||
|
|
@ -8,4 +8,7 @@ spec:
|
||||||
email: gorilych@gmail.com
|
email: gorilych@gmail.com
|
||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
name: letsencrypt
|
name: letsencrypt
|
||||||
http01: {}
|
solvers:
|
||||||
|
- http01:
|
||||||
|
ingress:
|
||||||
|
class: nginx
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue