Skip to content

Commit

Permalink
fix: handle registry caBundle as a multiline string (#2381)
Browse files Browse the repository at this point in the history
## Description

I added support for custom root CA Bundles to the registry some time
back. I encountered the need to do this again and discovered it was not
properly formatting the cert in the registry configMap. This minor
change fixes that.

## Related Issue


## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] 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 <sam@braingu.com>
  • Loading branch information
AbrohamLincoln committed Mar 14, 2024
1 parent 1ec8849 commit 2a1d1ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/zarf-registry/registry-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ autoscaling:
maxReplicas: "###ZARF_VAR_REGISTRY_HPA_MAX###"
targetCPUUtilizationPercentage: 80

caBundle: ###ZARF_VAR_REGISTRY_CA_BUNDLE###
caBundle: |
###ZARF_VAR_REGISTRY_CA_BUNDLE###
extraEnvVars:
###ZARF_VAR_REGISTRY_EXTRA_ENVS###

0 comments on commit 2a1d1ea

Please sign in to comment.