fix: inject global values in Chartify (#1805)

* fix: inject global values in Chartify

Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>

* test: add integration tests for template --values

Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>

---------

Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
This commit is contained in:
Thomas Loubiou
2024-12-04 18:51:21 +08:00
committed by GitHub
parent c9173b3e52
commit 8891439cdc
5 changed files with 76 additions and 4 deletions
@@ -0,0 +1,3 @@
---
image:
tag: v3
@@ -0,0 +1,61 @@
---
# Source: httpbin/templates/patched_resources.yaml
apiVersion: v1
kind: Service
metadata:
labels:
app: httpbin
chart: httpbin-0.1.0
heritage: Helm
release: httpbin
name: httpbin-httpbin
spec:
ports:
- name: httpbin
port: 8000
protocol: TCP
targetPort: 8000
selector:
app: httpbin
release: httpbin
type: LoadBalancer
---
# Source: httpbin/templates/patched_resources.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: httpbin
chart: httpbin-0.1.0
heritage: Helm
release: httpbin
name: httpbin-httpbin
spec:
replicas: 1
selector:
matchLabels:
app: httpbin
strategy:
type: Recreate
template:
metadata:
labels:
app: httpbin
release: httpbin
spec:
containers:
- image: docker.io/citizenstig/httpbin:v3
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /
port: 8000
name: httpbin
ports:
- containerPort: 8000
readinessProbe:
httpGet:
path: /
port: 8000
resources: {}
status: {}