-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add REGISTRY_CA_BUNDLE variable to registry package and chart (#…
…2008) ## Description Allows users to specify a CA bundle to the Registry when performing a `zarf init`. An example of how to use this to supply a Root CA Bundle in commercial AWS (although you don't need to): Create a `zarf-config.yaml` similar to the following: ```yaml package: deploy: set: REGISTRY_CA_BUNDLE: my-custom-ca.pem ``` Initialize the cluster: `ZARF_CONFIG=./zarf-config.yaml zarf init --confirm` ## Related Issue Fixes #2007 ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [ ] Test, docs, adr added or updated as needed - [ ] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow) followed --------- Signed-off-by: Sam <[email protected]> Co-authored-by: Wayne Starr <[email protected]>
- Loading branch information
1 parent
f145e3f
commit 9ae8cca
Showing
7 changed files
with
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{{- range (include "docker-registry.configMaps" . | fromYamlArray ) }} | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .name }} | ||
namespace: {{ $.Release.Namespace }} | ||
labels: | ||
app: {{ default $.Chart.Name $.Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
chart: {{ $.Chart.Name }}-{{ $.Chart.Version }} | ||
heritage: {{ $.Release.Service }} | ||
release: {{ $.Release.Name }} | ||
type: Opaque | ||
data: | ||
{{ toYaml .data | indent 2 }} | ||
{{- end }} |
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
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
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