chart: Version is upgraded

`VirtualService` resource is fixed
This commit is contained in:
Nikolai Rodionov
2023-02-26 05:42:25 +01:00
parent ec0b56372a
commit c1667d4603
6 changed files with 31 additions and 12 deletions

View File

@ -3,4 +3,14 @@ apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespace.name }}
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
{{- range $key, $value := .Values.namespace.labels}}
{{ $key }}: {{ $value }}
{{- end }}
{{- with .Values.namespace.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-config
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
data:
default.conf: |
server {

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Secret
metadata:
name: rclone-config
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
type: generic
data:
# the data is abbreviated in this example

View File

@ -2,13 +2,20 @@
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
annotations:
labels:
name: blog-virtual-service
labels:
{{- include "badhouseplants-net.labels" . | nindent 4 }}
{{- with .Values.istio.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
gateways:
- istio-system/badhouseplants-net
hosts: {{ .Values.istio.hosts }}
hosts:
{{- range .Values.istio.hosts}}
- {{ . }}
{{- end }}
http:
- match:
- uri: