Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
chore: Decouple non root policy exception from dev db
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonywendt committed Jan 9, 2024
1 parent b2b9ad1 commit 9d0c032
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ build/dubbd-k3d: | build/zarf ## Download dubbd k3d oci package
build/test-pkg-deps: | build/zarf ## Build package dependencies for testing
cd build && ./zarf package create ../utils/pkg-deps/namespaces/ --skip-sbom --confirm
cd build && ./zarf package create ../utils/pkg-deps/jira/postgres/ --skip-sbom --confirm
cd build && ./zarf package create ../utils/pkg-deps/jira/additional-policy-exceptions/ --skip-sbom --confirm

build/uds-capability-jira: | build ## Build the jira capability
cd build && ./zarf package create ../ --skip-sbom --confirm
Expand All @@ -182,6 +183,7 @@ deploy/dubbd-k3d: | build/zarf ## Deploy the k3d flavor of DUBBD

deploy/test-pkg-deps: | build/zarf ## Deploy the package dependencies needed for testing the jira capability
cd build && ./zarf package deploy zarf-package-jira-namespaces-* --confirm
cd build && ./zarf package deploy zarf-package-jira-additional* --confirm
cd build && ./zarf package deploy zarf-package-jira-postgres* --confirm

deploy/uds-capability-jira: ## Deploy the jira capability
Expand Down
16 changes: 16 additions & 0 deletions utils/pkg-deps/jira/additional-policy-exceptions/zarf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/zarf/main/zarf.schema.json
kind: ZarfPackageConfig
metadata:
name: jira-additional-policy-exceptions
# x-release-please-start-version
version: "0.1.4"
# x-release-please-end
architecture: amd64

components:
- name: postgres-kyverno-exceptions
required: true
manifests:
- name: kyverno-exceptions
files:
- policy-exceptions/non-root-user.yaml
1 change: 0 additions & 1 deletion utils/pkg-deps/jira/postgres/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ components:
- name: kyverno-exceptions
files:
- policy-exceptions/externalName.yaml
- policy-exceptions/non-root-user.yaml
- policy-exceptions/registry.yaml
- name: db-istio-exceptions
required: true
Expand Down

0 comments on commit 9d0c032

Please sign in to comment.