Skip to content

Commit

Permalink
remove external deps package, add logic to bring secret under config …
Browse files Browse the repository at this point in the history
…chart ownership
  • Loading branch information
zachariahmiller committed Nov 6, 2024
1 parent e432ed1 commit 2e2b8fb
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 93 deletions.
3 changes: 3 additions & 0 deletions common/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ components:
localPath: ../charts/settings
actions:
onDeploy:
before:
- cmd: ./zarf tools kubectl label secret -n gitlab gitlab-object-store app.kubernetes.io/managed-by=Helm || true
- cmd: ./zarf tools kubectl annotate secret -n gitlab gitlab-object-store meta.helm.sh/release-name=uds-gitlab-config || true
after:
- description: Validate GitLab Package
maxTotalSeconds: 300
Expand Down
37 changes: 0 additions & 37 deletions src/dev-secrets/minio-secret.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions src/dev-secrets/zarf.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions src/namespace/gitlab-ns.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions src/namespace/zarf.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

includes:
# TODO Delete dependencies.yaml after next releaser
- dependencies: ./tasks/dependencies.yaml
- test: ./tasks/test.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.2.2/tasks/create.yaml
Expand Down Expand Up @@ -33,7 +34,6 @@ tasks:
- name: create-deploy-test-bundle
description: Test and validate cluster is deployed with GitLab
actions:
- task: dependencies:create
- task: create:test-bundle
- task: deploy:test-bundle
- task: setup:create-doug-user
Expand All @@ -59,6 +59,7 @@ tasks:
- name: test-upgrade
description: Test an upgrade from the latest released package to the current branch
actions:
# TODO Delete dependencies.yaml after next releaser
- task: upgrade:create-latest-tag-bundle
with:
dep_commands: ./uds run dependencies:create
Expand Down

0 comments on commit 2e2b8fb

Please sign in to comment.