Skip to content

Commit

Permalink
try adjusting certificate config
Browse files Browse the repository at this point in the history
  • Loading branch information
hpratt committed Dec 30, 2019
1 parent 93bac0a commit dd50954
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions k8s/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,37 +45,19 @@ spec:
selector:
app: signal-service
---
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: staging-api-tls
namespace: default
spec:
secretName: api-tls
issuerRef:
name: letsencrypt
kind: ClusterIssuer
commonName: api.staging.wenglab.org
dnsNames:
- api.staging.wenglab.org
acme:
config:
- http01:
ingress: api-ingress
domains:
- api.staging.wenglab.org
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: api-ingress
annotations:
kubernetes.io/ingress.global-static-ip-name: "staging-api-external-ip"
cert-manager.io/cluster-issuer: letsencrypt
cert-manager.io/issue-temporary-certificate: "true"
spec:
backend:
serviceName: signal-service-service
servicePort: 80
tls:
- secretName: api-tls
hosts:
- api.staging.wenglab.org
- api.staging.wenglab.org

0 comments on commit dd50954

Please sign in to comment.