(dev-v2.6-archive) fixed template issues with k3s (#567)

(partially cherry picked from commit 7e14b4ee14)
pull/1680/head
Jacob Payne 2020-08-21 09:28:01 -07:00 committed by Arvind Iyengar
parent 1799bcb3bf
commit d91f49e076
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
5 changed files with 24 additions and 18 deletions

View File

@ -17,6 +17,10 @@ spec:
env: env:
- name: RELEASE_NAME - name: RELEASE_NAME
value: {{ .Release.Name }} value: {{ .Release.Name }}
{{- if .Values.revision }}
- name: CANARY_REVISION
value: {{ .Values.revision }}
{{- end }}
- name: ISTIO_NAMESPACE - name: ISTIO_NAMESPACE
value: {{ template "istio.namespace" . }} value: {{ template "istio.namespace" . }}
- name: FORCE_INSTALL - name: FORCE_INSTALL

View File

@ -1,6 +1,7 @@
revision: "" # leave blank for no canary deployment, or set to given revision, eg: "1-7-2"
overlayFile: "" overlayFile: ""
tag: 1.6.7 tag: 1.6.8
installerVersion: 1.6.7-rancher1 installerVersion: 0.1.6
forceInstall: false forceInstall: false
istiocoredns: istiocoredns:
@ -18,7 +19,7 @@ base:
cni: cni:
enabled: false enabled: false
repository: rancher/istio-install-cni repository: rancher/istio-install-cni
tag: 1.6.7 tag: 1.6.8
egressGateways: egressGateways:
enabled: false enabled: false
@ -34,17 +35,17 @@ istiodRemote:
pilot: pilot:
enabled: true enabled: true
repository: rancher/istio-pilot repository: rancher/istio-pilot
tag: 1.6.7 tag: 1.6.8
policy: policy:
enabled: true enabled: true
repository: rancher/istio-mixer repository: rancher/istio-mixer
tag: 1.6.7 tag: 1.6.8
telemetry: telemetry:
enabled: true enabled: true
repository: rancher/istio-mixer repository: rancher/istio-mixer
tag: 1.6.7 tag: 1.6.8
sidecarInjectorWebhook: sidecarInjectorWebhook:
enableNamespacesByDefault: false enableNamespacesByDefault: false
@ -57,10 +58,10 @@ global:
systemDefaultRegistry: "" systemDefaultRegistry: ""
proxy: proxy:
repository: rancher/istio-proxyv2 repository: rancher/istio-proxyv2
tag: 1.6.7 tag: 1.6.8
proxy_init: proxy_init:
repository: rancher/istio-proxyv2 repository: rancher/istio-proxyv2
tag: 1.6.7 tag: 1.6.8
# this can be removed in 1.7 as it is default # this can be removed in 1.7 as it is default
meshConfig: meshConfig:

View File

@ -1,10 +1,11 @@
{{- if .Values.additionalLoggingSources.k3s-openrc.enabled }} {{- if and .Values.additionalLoggingSources.k3s.enabled (eq .Values.additionalLoggingSources.k3s.container_engine "openrc")}}
apiVersion: logging.banzaicloud.io/v1beta1 apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging kind: Logging
metadata: metadata:
name: {{ .Release.Name }}-k3s-openrc name: {{ .Release.Name }}-k3s
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: {{ include "logging-operator.labels" . | indent 4 }} labels:
{{ include "logging-operator.labels" . | indent 4 }}
spec: spec:
controlNamespace: {{ .Release.Namespace }} controlNamespace: {{ .Release.Namespace }}
fluentbit: fluentbit:

View File

@ -1,10 +1,11 @@
{{- if .Values.additionalLoggingSources.k3s-systemd.enabled }} {{- if and .Values.additionalLoggingSources.k3s.enabled (eq .Values.additionalLoggingSources.k3s.container_engine "systemd")}}
apiVersion: logging.banzaicloud.io/v1beta1 apiVersion: logging.banzaicloud.io/v1beta1
kind: Logging kind: Logging
metadata: metadata:
name: {{ .Release.Name }}-k3s-systemd name: {{ .Release.Name }}-k3s
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: {{ include "logging-operator.labels" . | indent 4 }} labels:
{{ include "logging-operator.labels" . | indent 4 }}
spec: spec:
controlNamespace: {{ .Release.Namespace }} controlNamespace: {{ .Release.Namespace }}
fluentbit: fluentbit:

View File

@ -46,7 +46,7 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-logging/charts-original/values
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
@@ -76,4 +76,97 @@ @@ -76,4 +76,96 @@
monitoring: monitoring:
# Create a Prometheus Operator ServiceMonitor object # Create a Prometheus Operator ServiceMonitor object
serviceMonitor: serviceMonitor:
@ -125,10 +125,9 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-logging/charts-original/values
+additionalLoggingSources: +additionalLoggingSources:
+ rke1: + rke1:
+ enabled: false + enabled: false
+ k3s-systemd: + k3s:
+ enabled: false
+ k3s-openrc:
+ enabled: false + enabled: false
+ container_engine: "systemd"
+ +
+images: +images:
+ config_reloader: + config_reloader: