Skip to content

Commit

Permalink
feat: adds registry1 flavor of uds runtime (#925)
Browse files Browse the repository at this point in the history
## Description

adds registry1 flavor of uds runtime

---------

Co-authored-by: UnicornChance <chance@defenseunicorns.com>
Co-authored-by: Micah Nagel <micah.nagel@defenseunicorns.com>
  • Loading branch information
3 people authored Oct 19, 2024
1 parent 2f51c75 commit 0011852
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 19 deletions.
1 change: 0 additions & 1 deletion bundles/k3d-standard/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ packages:
optionalComponents:
- istio-passthrough-gateway
- metrics-server
- uds-runtime
overrides:
loki:
loki:
Expand Down
2 changes: 1 addition & 1 deletion packages/standard/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ components:

# UDS Runtime
- name: uds-runtime
required: false
required: true
import:
path: ../ui

Expand Down
29 changes: 29 additions & 0 deletions src/runtime/common/zarf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

kind: ZarfPackageConfig
metadata:
name: uds-core-runtime
description: "UDS Core Runtime"
url: "https://github.com/defenseunicorns/uds-runtime"

components:
- name: uds-runtime
required: true
charts:
- name: uds-runtime
namespace: uds-runtime
version: "v0.7.0"
url: https://github.com/defenseunicorns/uds-runtime.git
gitPath: chart
actions:
onDeploy:
after:
- description: Validate Runtime Package
maxTotalSeconds: 300
wait:
cluster:
kind: packages.uds.dev
name: uds-runtime
namespace: uds-runtime
condition: "'{.status.phase}'=Ready"
6 changes: 6 additions & 0 deletions src/runtime/values/registry1-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

image:
repository: registry1.dso.mil/ironbank/opensource/defenseunicorns/uds/runtime
tag: 0.7.0
45 changes: 28 additions & 17 deletions src/runtime/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,34 @@ variables:

components:
- name: uds-runtime
required: false
required: true
only:
flavor: upstream
import:
path: common
images:
- ghcr.io/defenseunicorns/uds-runtime:0.6.1
- ghcr.io/defenseunicorns/uds-runtime:0.7.0

- name: uds-runtime
required: true
only:
flavor: unicorn
import:
path: common
images:
- ghcr.io/defenseunicorns/uds-runtime:0.7.0

- name: uds-runtime
required: true
only:
flavor: registry1
cluster:
architecture: amd64
import:
path: common
images:
- registry1.dso.mil/ironbank/opensource/defenseunicorns/uds/runtime:0.7.0
charts:
- name: uds-runtime
namespace: uds-runtime
version: "v0.6.1"
url: https://github.com/defenseunicorns/uds-runtime.git
gitPath: chart
actions:
onDeploy:
after:
- description: Validate Runtime Package
maxTotalSeconds: 300
wait:
cluster:
kind: packages.uds.dev
name: uds-runtime
namespace: uds-runtime
condition: "'{.status.phase}'=Ready"
valuesFiles:
- values/registry1-values.yaml

0 comments on commit 0011852

Please sign in to comment.