Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/e2e/e2e-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ objects:
template:
spec:
restartPolicy: Never
volumes:
- name: route-monitor-operator-sc
secret:
secretName: route-monitor-operator-sc
optional: true
containers:
- name: osde2e
image: quay.io/redhat-services-prod/osde2e-cicada-tenant/osde2e:latest
Expand All @@ -56,6 +61,12 @@ objects:
- --skip-must-gather
- --configs
- ${OSDE2E_CONFIGS}
- --secret-locations
- "/etc/external-secrets"
volumeMounts:
- name: route-monitor-operator-sc
readOnly: true
mountPath: "/etc/external-secrets"
resources:
requests:
cpu: "300m"
Expand Down Expand Up @@ -93,3 +104,4 @@ objects:
value: ${USE_EXISTING_CLUSTER}
- name: CAD_PAGERDUTY_ROUTING_KEY
value: ${CAD_PAGERDUTY_ROUTING_KEY}

20 changes: 20 additions & 0 deletions test/e2e/rmo_secret.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: template
objects:
- apiVersion: v1
kind: Secret
metadata:
name: route-monitor-operator-sc
stringData:
OIDC_CLIENT_ID: ${OIDC_CLIENT_ID}
OIDC_CLIENT_SECRET: ${OIDC_CLIENT_SECRET}
OIDC_ISSUER_URL: ${OIDC_ISSUER_URL}
parameters:
- name: OIDC_CLIENT_ID
required: true
- name: OIDC_CLIENT_SECRET
required: true
- name: OIDC_ISSUER_URL
required: true