-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up ingress and switch to SF as primary
Due to a freeze bug we need to re-ingest ads from all providers for the last 18 hours or so on berg. For now switch to SF as primary.
- Loading branch information
Showing
2 changed files
with
60 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
deploy/manifests/prod/us-east-2/tenant/storetheindex/indexstar/sf-ingress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: indexstar-sf | ||
namespace: storetheindex | ||
spec: | ||
type: ExternalName | ||
externalName: sf.cid.contact | ||
ports: | ||
- port: 443 | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: indexstar-sf | ||
namespace: storetheindex | ||
annotations: | ||
kubernetes.io/ingress.class: "nginx" | ||
cert-manager.io/cluster-issuer: "letsencrypt" | ||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" | ||
nginx.ingress.kubernetes.io/enable-cors: "true" | ||
spec: | ||
tls: | ||
- hosts: | ||
- indexstar-sf.prod.cid.contact | ||
secretName: indexstar-sf-ingress-tls | ||
rules: | ||
- host: indexstar-sf.prod.cid.contact | ||
http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: indexstar-sf | ||
port: | ||
number: 443 |