Skip to content

Commit

Permalink
Merge branch 'main' into eos-2024.03
Browse files Browse the repository at this point in the history
  • Loading branch information
cumcke committed Mar 19, 2024
2 parents 1d0ce62 + 9eeb191 commit ebe6ebb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 76 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* **Metrics**
* [FIX] Set environment variable `MON_TLS_PATH_INGRESS` to ensure correct datasource connection between Grafana
and Promethues in [Azure Deployment sample](samples/azure-deployment). (Fixes #614)
* [CHANGE] Replaced the ghostunnel sidecar proxy with Grafana's native TLS capabilities and eliminated ghostunnel from the project.
* [UPGRADE] Kube-prometheus-stack Helm chart has been upgraded from version 54.0.1 to 56.6.2
* [UPGRADE] Prometheus Operator has been upgraded from version 0.69.1 to 0.71.2
* [UPGRADE] Prometheus has been upgraded from version 2.47.1 to 2.49.1
Expand All @@ -22,6 +23,7 @@ and Promethues in [Azure Deployment sample](samples/azure-deployment). (Fixes #6
* [FIX] Corrected comments referencing OpenSearch connection information in `samples/generic-base/logging/user-values-es-exporter.yaml`
and `logging/user-values-es-exporter.yaml`.
* [FIX] Corrected typo in `logging/bin/deploy_fluentbit_azmonitor.sh` that prevented the script from executing properly.
* [UPGRADE] Fluent Bit has been upgraded from version 2.1.10 to 2.2.2

* **Tracing**

Expand Down
4 changes: 2 additions & 2 deletions component_versions.env
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ ES_EXPORTER_FULL_IMAGE="quay.io/prometheuscommunity/elasticsearch-exporter:v1.6.
#Fluent Bit
FLUENTBIT_HELM_CHART_REPO=fluent
FLUENTBIT_HELM_CHART_NAME=fluent-bit
FLUENTBIT_HELM_CHART_VERSION=0.40.0
FB_FULL_IMAGE="cr.fluentbit.io/fluent/fluent-bit:2.1.10"
FLUENTBIT_HELM_CHART_VERSION=0.43.0
FB_FULL_IMAGE="cr.fluentbit.io/fluent/fluent-bit:2.2.2"

#OpenSearch
OPENSEARCH_HELM_CHART_REPO=opensearch
Expand Down
5 changes: 1 addition & 4 deletions logging/fb/viya-parsers.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 1.9.9
# Version 1.9.10
[PARSER]
Name consul
Format regex
Expand Down Expand Up @@ -143,9 +143,6 @@
regex (?<timestamp>\d{4}(-\d{2}){2} \d{2}(:\d{2}){2})\s+-\s+\[(?<level>[A-Z]*)\]\s+-\s+(?<message>.*)
Time_Key timestamp
Time_format %Y-%m-%d %H:%M:%S
[PARSER]
Name logfmt
Format logfmt
[PARSER]
Name crunchy_stderr3
Format regex
Expand Down
83 changes: 13 additions & 70 deletions monitoring/tls/values-prom-operator-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,82 +56,25 @@ grafana:
readinessProbe:
httpGet:
scheme: HTTPS
port: 443
port: 3000
livenessProbe:
httpGet:
scheme: HTTPS
port: 443
extraContainers: |
# Add square/ghosttunnel TLS proxy
- name: tls-proxy
args:
- server
- --listen=:443
- --target=127.0.0.1:3000
- --key=/cert/tls.key
- --cert=/cert/tls.crt
- --disable-authentication
image: ghostunnel/ghostunnel:v1.7.1
imagePullPolicy: IfNotPresent
ports:
- name: https
containerPort: 443
protocol: TCP
resources: {}
securityContext:
allowPrivilegeEscalation: true
privileged: true
readOnlyRootFilesystem: true
runAsNonRoot: false
runAsUser: 0
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /cert
name: tls-proxy-secret
readOnly: true
extraContainerVolumes:
- name: tls-proxy-secret
secret:
defaultMode: 420
secretName: grafana-tls-secret
port: 3000
extraSecretMounts:
- name: grafana-tls
mountPath: /cert
secretName: grafana-tls-secret
readOnly: true
subPath: ""
service:
port: 443
targetPort: 443
port: 3000
targetPort: 3000
sidecar:
datasources:
defaultDatasourceEnabled: false
"grafana.ini":
server:
# Bind to localhost so https (tls-proxy) is the only way in
http_addr: 127.0.0.1

# Commenting out for future reference with issue encountered when attempting to replace
# ghostunnel with Grafanas native TLS.
# Related GH Issue: https://github.com/prometheus-community/helm-charts/issues/3100
# grafana:
# readinessProbe:
# httpGet:
# scheme: HTTPS
# port: 3000
# livenessProbe:
# httpGet:
# scheme: HTTPS
# port: 3000
# extraSecretMounts:
# - name: grafana-tls
# mountPath: /cert
# secretName: grafana-tls-secret
# readOnly: true
# subPath: ""
# service:
# port: 3000
# targetPort: 3000
# sidecar:
# datasources:
# defaultDatasourceEnabled: false
# "grafana.ini":
# server:
# protocol: https
# cert_file: /cert/tls.crt
# cert_key: /cert/tls.key
protocol: https
cert_file: /cert/tls.crt
cert_key: /cert/tls.key

0 comments on commit ebe6ebb

Please sign in to comment.