Skip to content

Commit a556c43

Browse files
committed
eks: Fix disabling control plane logging
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent bb719e0 commit a556c43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cluster/cluster.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,17 @@ Resources:
171171
EndpointPublicAccess: true
172172
EndpointPrivateAccess: true
173173
# PublicAccessCidrs: [ "1.1.1.2/32" ]
174-
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging "true" }}
175174
Logging:
176175
ClusterLogging:
176+
{{- if eq .Cluster.ConfigItems.eks_control_plane_logging "true" }}
177177
EnabledTypes:
178178
- Type: api
179179
- Type: audit
180180
- Type: authenticator
181181
- Type: controllerManager
182182
- Type: scheduler
183+
{{- else }}
184+
EnabledTypes: []
183185
{{- end }}
184186
# Tags:
185187
# - Key: "application"

0 commit comments

Comments
 (0)