-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: issue where kustomization files are empty (#3094)
Co-authored-by: Austin Abro <[email protected]>
- Loading branch information
1 parent
0e63358
commit 1234b72
Showing
5 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/pkg/packager/testdata/find-images/kustomize/deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: agent | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: agent | ||
template: | ||
metadata: | ||
labels: | ||
app: agent | ||
spec: | ||
containers: | ||
- name: agent | ||
image: ghcr.io/zarf-dev/zarf/agent:v0.38.1 |
5 changes: 5 additions & 0 deletions
5
src/pkg/packager/testdata/find-images/kustomize/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- deployment.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
kind: ZarfPackageConfig | ||
metadata: | ||
name: agent | ||
version: 1.0.0 | ||
components: | ||
- name: baseline | ||
required: true | ||
manifests: | ||
- name: agent | ||
namespace: default | ||
kustomizations: | ||
- ./. |