Skip to content

Commit

Permalink
Fix: #671 Remove certbot from openshift template (#675)
Browse files Browse the repository at this point in the history
remove certbot from template
  • Loading branch information
ianliuwk1019 authored Aug 20, 2024
1 parent baa3302 commit df898f0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/merge-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: admin
file: admin/openshift.deploy.yml
overwrite: true
parameters: -p URL=fom-demo.apps.silver.devops.gov.bc.ca -p CERTBOT=false
parameters: -p URL=fom-demo.apps.silver.devops.gov.bc.ca
- name: db
file: db/openshift.deploy.yml
overwrite: false
Expand All @@ -75,7 +75,7 @@ jobs:
- name: public
file: public/openshift.deploy.yml
overwrite: true
parameters: -p URL=fom-demo.apps.silver.devops.gov.bc.ca -p CERTBOT=false
parameters: -p URL=fom-demo.apps.silver.devops.gov.bc.ca
steps:
- uses: bcgov-nr/[email protected]
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ jobs:
-p LOGOUT_CHAIN_URL="https://logon7.gov.bc.ca/clp-cgi/logoff.cgi?retnow=1&returl=https://loginproxy.gov.bc.ca/auth/realms/standard/protocol/openid-connect/logout?redirect_uri="
-p MEMORY_REQUEST=650Mi
-p MEMORY_LIMIT=4Gi
post_rollout: oc create job "certbot-manual-$(date +%s)" --from=cronjob/certbot
- name: admin
file: admin/openshift.deploy.yml
overwrite: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
overwrite: true
parameters:
-p OC_NAMESPACE=${{ vars.OC_NAMESPACE }}
-p CERTBOT=false -p REPLICA_COUNT=1
-p REPLICA_COUNT=1
-p [email protected]
-p DB_TESTDATA=true
-p AWS_USER_POOLS_WEB_CLIENT_ID="7hpo4qa7j0hs0rkfl2pm0sto5k"
Expand All @@ -102,7 +102,7 @@ jobs:
- name: admin
file: admin/openshift.deploy.yml
overwrite: true
parameters: -p CERTBOT=false -p REPLICA_COUNT=1
parameters: -p REPLICA_COUNT=1
triggers: ('db/' 'libs/' 'api/' 'admin/')
- name: db
file: db/openshift.deploy.yml
Expand All @@ -111,7 +111,7 @@ jobs:
- name: public
file: public/openshift.deploy.yml
overwrite: true
parameters: -p CERTBOT=false -p REPLICA_COUNT=1
parameters: -p REPLICA_COUNT=1
triggers: ('db/' 'libs/' 'api/' 'public/')
steps:
- uses: bcgov-nr/[email protected]
Expand Down
4 changes: 0 additions & 4 deletions admin/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ parameters:
- name: URL
description: Deployment URL, e.g. fom-123.apps.silver.devops.gov.bc.ca or fom.nrs.gov.bc.ca
required: true
- name: CERTBOT
description: Is certbot handling these certs [true/false]?
value: "true"
- name: CPU_REQUEST
value: 20m
- name: MEMORY_REQUEST
Expand Down Expand Up @@ -179,7 +176,6 @@ objects:
metadata:
labels:
app: ${NAME}-${ZONE}
certbot-managed: ${CERTBOT}
name: ${NAME}-${ZONE}-${COMPONENT}
spec:
host: ${URL}
Expand Down
4 changes: 0 additions & 4 deletions api/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ parameters:
- name: URL
description: Deployment URL, e.g. fom-123.apps.silver.devops.gov.bc.ca or fom.nrs.gov.bc.ca
required: true
- name: CERTBOT
description: Is certbot handling these certs [true/false]?
value: "true"
- name: CPU_REQUEST
value: 30m
- name: MEMORY_REQUEST
Expand Down Expand Up @@ -292,7 +289,6 @@ objects:
metadata:
labels:
app: ${NAME}-${ZONE}
certbot-managed: ${CERTBOT}
name: ${NAME}-${ZONE}-${COMPONENT}
annotations:
haproxy.router.openshift.io/timeout: 120s # (Fix 611 - /bcgw-extract long time response in prod)
Expand Down
4 changes: 0 additions & 4 deletions public/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ parameters:
- name: URL
description: Deployment URL, e.g. fom-123.apps.silver.devops.gov.bc.ca or fom.nrs.gov.bc.ca
required: true
- name: CERTBOT
description: Is certbot handling these certs [true/false]?
value: "true"
- name: CPU_REQUEST
value: 20m
- name: MEMORY_REQUEST
Expand Down Expand Up @@ -179,7 +176,6 @@ objects:
metadata:
labels:
app: ${NAME}-${ZONE}
certbot-managed: ${CERTBOT}
name: ${NAME}-${ZONE}-${COMPONENT}
spec:
host: ${URL}
Expand Down

0 comments on commit df898f0

Please sign in to comment.