Skip to content

Commit

Permalink
Add additional test coverage for mutliple images
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Dec 21, 2023
1 parent f5ba8f7 commit 8a65871
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[
(
CWD / "tests/testdata/cluster8",
{"flux-system/apps": {"alpine"}},
{"flux-system/apps": {"alpine", "busybox"}},
),
(
CWD / "tests/testdata/cluster7",
Expand Down
2 changes: 1 addition & 1 deletion tests/testdata/cluster8/apps/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- pod-pvc.yaml
- pods.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ spec:
name: task-pv-storage
command: ["/bin/sh"]
args: ["-c", "sleep 500000"]
---
apiVersion: v1
kind: Pod
metadata:
name: sleep
namespace: home
spec:
initContainers:
- name: sleep
image: busybox
command: ["/bin/sh"]
args: ["-c", "sleep 500000"]

0 comments on commit 8a65871

Please sign in to comment.