remove https/cert stuff

master
Paul Walko 2020-11-21 11:39:48 -05:00
parent afe04ef8a1
commit 449417e91d
3 changed files with 3 additions and 48 deletions

View File

@ -1,4 +0,0 @@
# helm create namespace cert-manager
# helm repo add jetstack https://charts.jetstack.io && helm repo update
# helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v1.0.3 -f cert-manager.yml
installCRDs: true

View File

@ -13,10 +13,9 @@ controller:
type: NodePort type: NodePort
nodePorts: nodePorts:
http: 30080 http: 30080
https: 30443
enablePorts: enablePorts:
http: true http: true
https: true https: false
stat: true stat: true
ssh: true ssh: true
minecraft: true minecraft: true

View File

@ -3,9 +3,8 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
annotations: annotations:
# set to false if doing letsencrypt validation # redirection is handled at upper haproxy layer
ingress.kubernetes.io/ssl-redirect: "true" ingress.kubernetes.io/ssl-redirect: "false"
cert-manager.io/cluster-issuer: letsencrypt-prod
name: haproxy-ingress name: haproxy-ingress
namespace: pew namespace: pew
spec: spec:
@ -70,42 +69,3 @@ spec:
name: plex name: plex
port: port:
number: 32400 number: 32400
tls:
- secretName: pew-cert
hosts:
- seaturtle.pw
- airsonic.seaturtle.pw
- git.seaturtle.pw
- nc.seaturtle.pw
- plex.seaturtle.pw
- paul.walko.org
---
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
spec:
acme:
email: paulsw.pw@gmail.com
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: pew-account-key
solvers:
- http01:
ingress: {}
---
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
email: paulsw.pw@gmail.com
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: pew-account-key
solvers:
- http01:
ingress: {}