Skip to content

Commit

Permalink
fix: update tenants package cr to fix netpol (#48)
Browse files Browse the repository at this point in the history
* update tenants package cr to fix netpol

* fix value

* fix test jobs error handling to not produce false positive results

* lint fix wrong indentation

* bump release
  • Loading branch information
zachariahmiller authored Jan 24, 2025
1 parent 50e5468 commit 9d49457
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion chart/templates/uds-package-minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
{{- range .Values.apps }}
- direction: Ingress
selector:
app: minio
v1.min.io/tenant: {{ $.Values.name }}
remoteNamespace: {{ .namespace }}
{{ if .remoteSelector }}
remoteSelector:
Expand Down
6 changes: 3 additions & 3 deletions releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
flavors:
- name: upstream
# renovate-uds: datasource=docker depName=quay.io/minio/operator extractVersion=^v?(?<version>\d+\.\d+\.\d+)$
version: 7.0.0-uds.0
version: 7.0.0-uds.1
- name: registry1
# renovate-uds: datasource=docker depName=registry1.dso.mil/ironbank/opensource/minio/operator extractVersion=^v?(?<version>\d+\.\d+\.\d+)$
version: 7.0.0-uds.0
version: 7.0.0-uds.1
- name: unicorn
# renovate-uds: datasource=docker depName=cgr.dev/du-uds-defenseunicorns/minio-operator-fips
version: 7.0.0-uds.0
version: 7.0.0-uds.1
2 changes: 1 addition & 1 deletion tests/minio/mc-cli-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
args:
- |
BN="mc-cli-policy-bucket"
mc alias set myminio $MINIO_SERVER $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
mc alias set myminio $MINIO_SERVER $MINIO_ACCESS_KEY $MINIO_SECRET_KEY || exit 1
echo "Hello from Kubernetes Job!" > /tmp/hello.txt
if mc cp /tmp/hello.txt myminio/$BN/hello.txt; then
echo "Bucket upload should be disallowed but succeeded instead"
Expand Down
6 changes: 3 additions & 3 deletions tests/minio/mc-cli-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ spec:
args:
- |
BN="mc-cli-test-bucket"
mc alias set myminio $MINIO_SERVER $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
mc alias set myminio $MINIO_SERVER $MINIO_ACCESS_KEY $MINIO_SECRET_KEY || exit 1
echo "Hello from Kubernetes Job!" > /tmp/hello.txt
mc cp /tmp/hello.txt myminio/$BN/hello.txt
mc cp myminio/$BN/hello.txt /tmp/downloaded_hello.txt
mc cp /tmp/hello.txt myminio/$BN/hello.txt || exit 1
mc cp myminio/$BN/hello.txt /tmp/downloaded_hello.txt || exit 1
echo "Bucket, upload, and download operations completed successfully"
env:
- name: MINIO_SERVER
Expand Down
2 changes: 1 addition & 1 deletion tests/minio/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
selector:
remoteNamespace: minio
remoteSelector:
app: minio
v1.min.io/tenant: uds-minio
description: "Egress from minio CLI (for tests)"

0 comments on commit 9d49457

Please sign in to comment.