UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit c6bebd02 authored by joshwolf's avatar joshwolf
Browse files

Merge branch 'logging' into 'master'

add fluent-bit deployment and restructure logging dependencies

See merge request platform-one/big-bang/umbrella!17
parents 09bae791 a94185b5
No related branches found
No related tags found
1 merge request!17add fluent-bit deployment and restructure logging dependencies
Pipeline #72053 passed
......@@ -43,8 +43,8 @@ package tests:
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang istio-operator
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang istio
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang eck-operator
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang logging-operator
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang efk
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang ek
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang fluent-bit
- kubectl wait --for=condition=Ready --timeout 300s helmrelease -n bigbang twistlock
- kubectl wait --for=condition=Ready --timeout 900s helmrelease -n bigbang cluster-auditor
......
......@@ -2,13 +2,13 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: efk
name: ek
namespace: {{ .Release.Namespace }}
spec:
targetNamespace: logging
chart:
spec:
chart: charts/logging
chart: charts/elasticsearch-kibana
interval: 5m
sourceRef:
kind: GitRepository
......@@ -44,8 +44,6 @@ spec:
dependsOn:
- name: eck-operator
namespace: {{ .Release.Namespace }}
- name: logging-operator
namespace: {{ .Release.Namespace }}
{{- if .Values.gatekeeper.enabled }}
- name: gatekeeper
......
......@@ -2,13 +2,13 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: logging-operator
name: fluent-bit
namespace: {{ .Release.Namespace }}
spec:
targetNamespace: logging
chart:
spec:
chart: charts/logging-operator
chart: charts/fluent-bit
interval: 5m
sourceRef:
kind: GitRepository
......@@ -33,11 +33,23 @@ spec:
{{- end }}
values:
createCustomResource: false
elasticsearch:
host: "logging-ek-es-http"
password:
secret: "logging-ek-es-elastic-user"
{{- if .Values.gatekeeper.enabled }}
{{/* ECK and Logging _always_ depend on .Values.logging being enabled, so can assume they exist here */}}
dependsOn:
- name: ek
namespace: {{ .Release.Namespace }}
{{- if .Values.gatekeeper.enabled }}
- name: gatekeeper
namespace: {{ .Release.Namespace }}
{{- end }}
{{- if .Values.istio.enabled }}
- name: istio
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
\ No newline at end of file
{{- end }}
\ No newline at end of file
{{- if or .Values.logging.enabled .Values.clusterAuditor.enabled }}
apiVersion: v1
kind: Namespace
metadata:
name: eck-operator
---
apiVersion: v1
kind: Namespace
metadata:
name: logging
{{- if .Values.istio.enabled }}
labels:
istio-injection: enabled
{{- end}}
---
{{- if and (ne .Values.registryCredentials.username "") (ne .Values.registryCredentials.password "") }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment