Skip to content

Commit f2a877c

Browse files
committed
making vars for gitea chart repo and zarf injector
Signed-off-by: Omar Ahmad <[email protected]>
1 parent ea34ff1 commit f2a877c

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

packages/gitea/zarf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ components:
5858
charts:
5959
- name: gitea
6060
releaseName: zarf-gitea
61-
url: https://dl.gitea.io/charts
61+
url: "###ZARF_PKG_TMPL_GITEA_HELM_REPO###"
6262
version: 10.1.1
6363
namespace: zarf
6464
valuesFiles:

packages/zarf-registry/zarf.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ components:
111111
architecture: amd64
112112
files:
113113
# Rust Injector Binary
114-
- source: https://zarf-init-resources.s3.us-east-1.amazonaws.com/injector/###ZARF_PKG_TMPL_INJECTOR_VERSION###/zarf-injector-amd64
114+
- source: https://###ZARF_PKG_TMPL_INJECTOR_DOMAIN###/injector/###ZARF_PKG_TMPL_INJECTOR_VERSION###/zarf-injector-amd64
115115
target: "###ZARF_TEMP###/zarf-injector"
116116
shasum: "###ZARF_PKG_TMPL_INJECTOR_AMD64_SHASUM###"
117117
executable: true
@@ -126,7 +126,7 @@ components:
126126
architecture: arm64
127127
files:
128128
# Rust Injector Binary
129-
- source: https://zarf-init-resources.s3.us-east-1.amazonaws.com/injector/###ZARF_PKG_TMPL_INJECTOR_VERSION###/zarf-injector-arm64
129+
- source: https://###ZARF_PKG_TMPL_INJECTOR_DOMAIN###/injector/###ZARF_PKG_TMPL_INJECTOR_VERSION###/zarf-injector-arm64
130130
target: "###ZARF_TEMP###/zarf-injector"
131131
shasum: "###ZARF_PKG_TMPL_INJECTOR_ARM64_SHASUM###"
132132
executable: true

site/src/content/docs/tutorials/7-custom-init-packages.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ $ zarf package create . \
9292
--set REGISTRY_IMAGE="opensource/registry" \
9393
--set REGISTRY_IMAGE_DOMAIN="custom.enterprise.corp" \
9494
--set GITEA_IMAGE="custom.enterprise.corp/opensource/gitea:v1.21.0-rootless"
95+
--set GITEA_HELM_REPO="custom.enterprise.corp/charts"
96+
--set INJECTOR_DOMAIN="custom.enterprise.corp/s3-proxy"
9597
```
9698

9799
⚠️ - The Gitea image is different from the Agent and Registry in that Zarf will always prefer the `rootless` version of a given server image. The image no longer must be tagged with `-rootless`, but it still needs to implement the [Gitea configuration of a rootless image](https://github.com/go-gitea/gitea/blob/main/Dockerfile.rootless). If you need to change this, edit the `packages/gitea` package.

zarf-config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ agent_image_tag = 'local'
66

77
# Tag for the zarf injector binary to use
88
injector_version = '2025-03-24'
9+
injector_domain = 'zarf-init-resources.s3.us-east-1.amazonaws.com'
910
injector_amd64_shasum = 'a78d66b9e2b00a22edd9b4e6432a4d934621e3757f09493b12f688c7c9baca93'
1011
injector_arm64_shasum = 'f68cf097ace34bdd04f6b1571a8d8ab4e04a27614dd7e752199ff09e21f4089b'
1112

@@ -17,3 +18,4 @@ registry_image_tag = '3.0.0'
1718

1819
# The image reference to use for the optional git-server Zarf deploys
1920
gitea_image = 'gitea/gitea:1.21.5-rootless'
21+
gitea_helm_repo = 'dl.gitea.io/charts'

0 commit comments

Comments
 (0)