Skip to content

Commit 86ee9e8

Browse files
committed
build: add host to helm config, set certificate annotation
1 parent d73af4a commit 86ee9e8

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ jobs:
5454
run: |
5555
aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }}
5656
- name: Apply manifests
57-
## Revert after email applied
5857
run: |
59-
kubectl apply -f kubernetes/manifests/
60-
# run: |
61-
# kubectl apply -f kubernetes/manifests/ ${{ github.event_name == 'pull_request' && '--dry-run' || '' }}
58+
kubectl apply -f kubernetes/manifests/ ${{ github.event_name == 'pull_request' && '--dry-run' || '' }}
6259
- name: Deploy eoAPI Chart
6360
uses: helmfile/helmfile-action@v2.0.4
6461
with:
6562
helmfile-args: ${{ github.event_name == 'push' && 'apply' || 'diff' }}
6663
helmfile-workdirectory: kubernetes/helm
64+
- run: |
65+
kubectl get clusterissuer -o=jsonpath='{.items[*].spec.acme.email}'
66+
kubectl get certificate -n eoapi
67+
kubectl get secret/eoapi-tls -n eoapi

kubernetes/helm/eoapi-values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ ingress:
2323
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
2424
nginx.ingress.kubernetes.io/enable-cors: "true"
2525
nginx.ingress.kubernetes.io/enable-access-log: "true"
26-
# cert-manager.io/cluster-issuer: "letsencrypt-staging"
27-
# host: "k8s.hotosm.org"
28-
# tls:
29-
# enabled: true
30-
# secretName: eoapi-tls
26+
cert-manager.io/cluster-issuer: "letsencrypt-staging"
27+
host: "eoapi-prod.imagery-services.k8s-prod.hotosm.org"
28+
tls:
29+
enabled: true
30+
secretName: eoapi-tls
3131

3232
postgrescluster:
3333
backupsEnabled: true

0 commit comments

Comments
 (0)