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 name: badhouseplants-net
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
type: application type: application
version: 0.3.3 version: 0.3.4
appVersion: "1.16.0" appVersion: "1.16.0"

View File

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

View File

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

View File

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