Skip to content

Commit 541e0c3

Browse files
committed
Attempt to mount certs
1 parent 921e63d commit 541e0c3

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build.from.master.branch.deploy.to.dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ jobs:
150150
- name: Login to GitHub Container Registry
151151
uses: docker/login-action@v1
152152
with:
153-
registry: ghcr.io
154-
username: ${{ env.INMAGE_REGISTRY_USER }}
155-
password: ${{ env.INMAGE_REGISTRY_PASSWORD }}
153+
registry: ${{ env.IMAGE_REGISTRY }}
154+
username: ${{ env.IMAGE_REGISTRY_USER }}
155+
password: ${{ env.IMAGE_REGISTRY_PASSWORD }}
156156

157157
- name: Push custom s2i builder image
158158
run: |

openshift/templates/cas-api/cas-api-deploy.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ objects:
4343
spec:
4444
containers:
4545
- name: "${NAME}"
46+
volumeMounts:
47+
- name: custom-certs
48+
mountPath: /etc/pki/ca-trust/source/anchors/
4649
image: ''
4750
ports:
4851
- containerPort: 8080
@@ -77,6 +80,10 @@ objects:
7780
periodSeconds: 10
7881
successThreshold: 1
7982
failureThreshold: 3
83+
volumes:
84+
- name: custom-certs
85+
secret:
86+
secretName: trusted-custom-ca
8087

8188
- kind: Service
8289
apiVersion: v1

0 commit comments

Comments
 (0)