UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit a0909384 authored by Andrew Kesterson's avatar Andrew Kesterson
Browse files

#1993 : Pass big bang values through to package charts

### Changed
- Package charts now pass through specific bigbang values in the package values so they can be referenced from package value files with template functions
parent f58adda8
No related branches found
No related tags found
No related merge requests found
Pipeline #3225000 passed
......@@ -3,6 +3,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [2.25.1] - 2024-04-30
### Changed
- Package charts now pass through all bigbang values in the package values so they can be referenced from package value files with template functions
## [2.25.0]
- [!2.25.0](https://repo1.dso.mil/big-bang/bigbang/-/merge_requests?scope=all&utf8=%E2%9C%93&state=merged&milestone_title=2.25.0); List of merge requests in this release.
......
apiVersion: v2
name: bigbang
version: 2.25.0
version: 2.25.1
description: Big Bang is a declarative, continuous delivery tool for core DoD hardened and approved packages into a Kubernetes cluster.
type: application
keywords:
- platform1
- bigbang
home: https://p1.dso.mil/products/big-bang
sources:
- https://repo1.dso.mil/big-bang/bigbang
maintainers:
- name: Michael Martin
email: michaelmartin@seed-innovations.com
- name: Chris O'Connell
email: coconnell@bridgephase.com
icon: https://p1.dso.mil/img/Big_Bang_Color_Logo_White_text.b04263b1.png
......@@ -3,6 +3,9 @@
{{- if (dig "enabled" true $vals) -}}
{{- $pkg = include "resourceName" $pkg -}}
{{- $defaults := $.Files.Get (printf "defaults/%s.yaml" $pkg) -}}
{{- $bbvars := pick $.Values "domain" "networkPolicies" -}}
{{- $merged := mergeOverwrite $vals.values $bbvars -}}
{{- $_ := set $vals "values" $merged -}}
{{- if $defaults -}}
{{- $vals := mergeOverwrite $vals ($defaults | fromYaml).package -}}
{{- end -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment