Skip to content

Commit

Permalink
Fix Functional Tests to handle Secret Creation Behavior changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gmfrasca committed Sep 13, 2023
1 parent 4f930a3 commit 3eb5187
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp0"
- name: OBJECTSTORECONFIG_SECRETACCESSKEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp0"
- name: OBJECTSTORECONFIG_SECURE
value: "false"
- name: MINIO_SERVICE_SERVICE_HOST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp2"
- name: OBJECTSTORECONFIG_SECRETACCESSKEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp2"
- name: OBJECTSTORECONFIG_SECURE
value: "false"
- name: MINIO_SERVICE_SERVICE_HOST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp2"
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp2"
image: minio:test2
name: minio
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp2"
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp2"
- name: ALLOW_CUSTOM_VISUALIZATIONS
value: "true"
- name: ARGO_ARCHIVE_LOGS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: Secret
apiVersion: v1
metadata:
# todo: remove todo- this should actually be checked for but causes failures because previous tests don't clean up properly
name: todo-mlpipeline-minio-artifact
name: todo-ds-pipeline-s3-testdsp3
namespace: namespace3
labels:
app: minio-extrenal-storage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp4"
- name: OBJECTSTORECONFIG_SECRETACCESSKEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp4"
- name: OBJECTSTORECONFIG_SECURE
value: "false"
- name: MINIO_SERVICE_SERVICE_HOST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp4"
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp4"
image: this-minio-image-from-cr-should-be-used:test4
name: minio
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp4"
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp4"
- name: ALLOW_CUSTOM_VISUALIZATIONS
value: "true"
- name: ARGO_ARCHIVE_LOGS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp5"
- name: OBJECTSTORECONFIG_SECRETACCESSKEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp5"
- name: OBJECTSTORECONFIG_SECURE
value: "false"
- name: MINIO_SERVICE_SERVICE_HOST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ spec:
valueFrom:
secretKeyRef:
key: "accesskey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp5"
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
key: "secretkey"
name: "mlpipeline-minio-artifact"
name: "ds-pipeline-s3-testdsp5"
- name: ALLOW_CUSTOM_VISUALIZATIONS
value: "true"
- name: ARGO_ARCHIVE_LOGS
Expand Down

0 comments on commit 3eb5187

Please sign in to comment.