Skip to content

Commit

Permalink
skip: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DnPlas committed Oct 4, 2023
1 parent 197a49d commit 9196141
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions charms/argo-controller/tests/integration/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: mlpipeline-minio-artifact
namespace: {{ namespace }}
data:
accesskey: {{ access_key }}
secretkey: {{ secret_key }}
3 changes: 2 additions & 1 deletion charms/argo-controller/tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def test_build_and_deploy_with_relations(ops_test: OpsTest):
await ops_test.model.wait_for_idle(apps=[APP_NAME], status="active", timeout=1000)


async def create_mlpipeline_minio_secret():
async def create_mlpipeline_minio_secret(ops_test: OpsTest):
"""Creates a Secret with name mlpipeline-minio-artifact.
This simulates the behaviour of having the kfp-profile-controller
Expand All @@ -68,6 +68,7 @@ async def create_mlpipeline_minio_secret():
context={
"access_key": b64encode(MINIO_CONFIG["access-key"].encode("utf-8")),
"secret_key": b64encode(MINIO_CONFIG["secret-key"].encode("utf-8")),
"namespace": ops_test.model_name,
}
)

Expand Down

0 comments on commit 9196141

Please sign in to comment.