From 08b94e6f296a04a91013b040ca65e571283a37b7 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Thu, 15 Jul 2021 18:42:01 -0600 Subject: [PATCH] Se arreglan todos los errores. --- README.md | 2 ++ app/03-ingress.yaml | 4 ++-- ingress/06-nginx-ingress-deployment.yaml | 2 +- {crds => ingress/crds}/appprotect.f5.com_aplogconfs.yaml | 0 {crds => ingress/crds}/appprotect.f5.com_appolicies.yaml | 0 {crds => ingress/crds}/appprotect.f5.com_apusersigs.yaml | 0 .../crds}/k8s.nginx.org_globalconfigurations.yaml | 0 {crds => ingress/crds}/k8s.nginx.org_policies.yaml | 0 {crds => ingress/crds}/k8s.nginx.org_transportservers.yaml | 0 {crds => ingress/crds}/k8s.nginx.org_virtualserverroutes.yaml | 0 {crds => ingress/crds}/k8s.nginx.org_virtualservers.yaml | 0 11 files changed, 5 insertions(+), 3 deletions(-) rename {crds => ingress/crds}/appprotect.f5.com_aplogconfs.yaml (100%) rename {crds => ingress/crds}/appprotect.f5.com_appolicies.yaml (100%) rename {crds => ingress/crds}/appprotect.f5.com_apusersigs.yaml (100%) rename {crds => ingress/crds}/k8s.nginx.org_globalconfigurations.yaml (100%) rename {crds => ingress/crds}/k8s.nginx.org_policies.yaml (100%) rename {crds => ingress/crds}/k8s.nginx.org_transportservers.yaml (100%) rename {crds => ingress/crds}/k8s.nginx.org_virtualserverroutes.yaml (100%) rename {crds => ingress/crds}/k8s.nginx.org_virtualservers.yaml (100%) diff --git a/README.md b/README.md index c9ff62f..ecf640e 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,9 @@ Primero creamos el namespace de CertManager Luego instalamos con helm con los siguientes comandos. `helm repo add jetstack https://charts.jetstack.io` + `helm repo update` + `helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v1.2.0 --set installCRDs=true` Este es un tip que nos va a servir adelante: diff --git a/app/03-ingress.yaml b/app/03-ingress.yaml index cb1d855..0b45105 100644 --- a/app/03-ingress.yaml +++ b/app/03-ingress.yaml @@ -9,7 +9,7 @@ metadata: nginx.ingress.kubernetes.io/use-regex: "true" spec: rules: - - host: p-lao.com + - host: p-lao.tk http: paths: - path: / @@ -19,7 +19,7 @@ spec: name: app-svc port: number: 8080 - - host: www.p-lao.com + - host: www.p-lao.tk http: paths: - path: / diff --git a/ingress/06-nginx-ingress-deployment.yaml b/ingress/06-nginx-ingress-deployment.yaml index 30e8238..debded1 100644 --- a/ingress/06-nginx-ingress-deployment.yaml +++ b/ingress/06-nginx-ingress-deployment.yaml @@ -4,7 +4,7 @@ metadata: name: nginx-ingress namespace: nginx-ingress spec: - replicas: 2 + replicas: 1 selector: matchLabels: app: nginx-ingress diff --git a/crds/appprotect.f5.com_aplogconfs.yaml b/ingress/crds/appprotect.f5.com_aplogconfs.yaml similarity index 100% rename from crds/appprotect.f5.com_aplogconfs.yaml rename to ingress/crds/appprotect.f5.com_aplogconfs.yaml diff --git a/crds/appprotect.f5.com_appolicies.yaml b/ingress/crds/appprotect.f5.com_appolicies.yaml similarity index 100% rename from crds/appprotect.f5.com_appolicies.yaml rename to ingress/crds/appprotect.f5.com_appolicies.yaml diff --git a/crds/appprotect.f5.com_apusersigs.yaml b/ingress/crds/appprotect.f5.com_apusersigs.yaml similarity index 100% rename from crds/appprotect.f5.com_apusersigs.yaml rename to ingress/crds/appprotect.f5.com_apusersigs.yaml diff --git a/crds/k8s.nginx.org_globalconfigurations.yaml b/ingress/crds/k8s.nginx.org_globalconfigurations.yaml similarity index 100% rename from crds/k8s.nginx.org_globalconfigurations.yaml rename to ingress/crds/k8s.nginx.org_globalconfigurations.yaml diff --git a/crds/k8s.nginx.org_policies.yaml b/ingress/crds/k8s.nginx.org_policies.yaml similarity index 100% rename from crds/k8s.nginx.org_policies.yaml rename to ingress/crds/k8s.nginx.org_policies.yaml diff --git a/crds/k8s.nginx.org_transportservers.yaml b/ingress/crds/k8s.nginx.org_transportservers.yaml similarity index 100% rename from crds/k8s.nginx.org_transportservers.yaml rename to ingress/crds/k8s.nginx.org_transportservers.yaml diff --git a/crds/k8s.nginx.org_virtualserverroutes.yaml b/ingress/crds/k8s.nginx.org_virtualserverroutes.yaml similarity index 100% rename from crds/k8s.nginx.org_virtualserverroutes.yaml rename to ingress/crds/k8s.nginx.org_virtualserverroutes.yaml diff --git a/crds/k8s.nginx.org_virtualservers.yaml b/ingress/crds/k8s.nginx.org_virtualservers.yaml similarity index 100% rename from crds/k8s.nginx.org_virtualservers.yaml rename to ingress/crds/k8s.nginx.org_virtualservers.yaml