Skip to content

Commit

Permalink
Feat(ingressgateways) enable access logging (#439)
Browse files Browse the repository at this point in the history
* feat(Ingress Gateways) Enable accessLogging

* feat(Ingress Gateways) Enable accessLogging

* feat(Ingress Gateways) Enable accessLogging

* feat(Ingress Gateways) Enable accessLogging
  • Loading branch information
ocatarinetabellatchitchix authored Jul 24, 2023
1 parent e4f35c2 commit 0596ba9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/istio-ingress-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.5.5
version: 2.6.0
16 changes: 16 additions & 0 deletions stable/istio-ingress-gateway/templates/telemetry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- if .Values.telemetry.accessLogging.enabled }}
apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
name: {{ include "istio-ingress-gateway.fullname" . }}-access-logging
namespace: {{ .Release.Namespace }}
labels:
{{- include "istio-ingress-gateway.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "istio-ingress-gateway.selectorLabels" . | nindent 6 }}
accessLogging:
- providers:
- name: envoy
{{- end }}
6 changes: 6 additions & 0 deletions stable/istio-ingress-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,9 @@ https:
# Extra labels to add to the ClusterRole
# Can be used for ClusterRole Aggregation
labels: {}

# Configures Telemetry on the ingress gateway.
telemetry:
# Enable access logging for the entire mesh
accessLogging:
enabled: true

0 comments on commit 0596ba9

Please sign in to comment.