Udpate values

This commit is contained in:
Nikolai Rodionov 2023-02-25 13:26:00 +01:00
parent 9ad4991fe6
commit d1935907b1
4 changed files with 20 additions and 5 deletions

View File

@ -2,5 +2,5 @@ apiVersion: v2
name: badhouseplants-net
description: A Helm chart for Kubernetes
type: application
version: 0.3.3
version: 0.3.4
appVersion: "1.16.0"

View File

@ -46,6 +46,9 @@ spec:
resources:
{{- toYaml .Values.rclone.container.resources | nindent 12 }}
- name: {{ .Values.hugo.container.name }}
env:
- name: HUGO_BASEURL
value: {{ .Values.hugo.env.HUGO_BASEURL }}
volumeMounts:
- name: {{ .Values.volumes.rclone.name }}
mountPath: /src/static

View File

@ -33,6 +33,8 @@ hugo:
repository: git.badhouseplants.net/allanger/badhouseplants-net
pullPolicy: Always
tag: latest
env:
HUGO_BASEURL: badhouseplants.net
istio:
enabled: true

View File

@ -10,6 +10,14 @@ spec:
- name: dynamic-charts
app: badhouseplants
branch: dynamic-charts
chart_version: 0.3.3
value: |
istio:
hosts:
- dynamic-charts-dev.badhouseplants.net
hugo:
image:
tag: f230ff63c02fddecc77608b08cefb21f513160e2
template:
metadata:
name: "{{ app }}-{{ name }}"
@ -20,11 +28,13 @@ spec:
helm:
valueFiles:
- values.yaml
values: |-
{{ values }}
values: "{{ value }}"
repoURL: https://git.badhouseplants.net/api/packages/allanger/helm
targetRevision: "{{ chart.version }}"
targetRevision: "{{ chart_version }}"
chart: badhouseplants-net
destination:
server: "{{ argo.cluster }}"
server: "https://kubernetes.default.svc"
namespace: "{{ app }}-{{ name }}"
syncPolicy:
syncOptions:
- CreateNamespace=true