Skip to content

Commit

Permalink
feat(istio-ingress-gateway): Sync with recent changes Enable accessLo…
Browse files Browse the repository at this point in the history
…gging (#440)
  • Loading branch information
ocatarinetabellatchitchix authored Jul 27, 2023
1 parent b8cae0c commit 525b9c7
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,7 +18,7 @@ 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: 3.0.3
version: 3.1.0

dependencies:
- name: gateway
Expand Down
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 @@ -73,3 +73,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 525b9c7

Please sign in to comment.