Skip to content

Commit

Permalink
feat: Add support for value overlays (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarojasm95 authored Sep 4, 2024
1 parent 991ff6c commit d9ae183
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
11 changes: 10 additions & 1 deletion aladdin/charts/merger/templates/values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
{{- toYaml .Values -}}
{{- $overLay := get .Values "aladdin.overlay" }}
{{- $values := unset .Values "aladdin.overlay" }}
{{- if $overLay }}
{{/* Enable the injection of render values into other values */}}
{{- $overLay = tpl (toYaml ($overLay | default "")) (dict "Values" $values) }}
{{- $overLay = fromYaml $overLay }}
{{- toYaml (merge $values $overLay) }}
{{- else }}
{{- toYaml $values }}
{{- end }}
1 change: 0 additions & 1 deletion aladdin/lib/publish_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ class PublishRules:
def __init__(self):
publish_configs = load_publish_configs()
boto = boto3.Session(profile_name=publish_configs["aws_profile"])
self.docker_registry = publish_configs["docker_ecr_repo"]
self.ecr = boto.client("ecr")
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aladdin"
version = "1.29.8.0"
version = "1.29.8.1"
description = ""
authors = ["Fivestars <dev@fivestars.com>"]
include = [
Expand Down

0 comments on commit d9ae183

Please sign in to comment.