Skip to content

Commit 6abb12d

Browse files
authored
chore(helm): add missing check for adminAPI on enterprise (#16369)
1 parent 62a72f6 commit 6abb12d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎production/helm/loki/templates/admin-api/deployment-admin-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.enterprise.enabled }}
1+
{{- if and .Values.enterprise.enabled .Values.enterprise.adminApi.enabled }}
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:

‎production/helm/loki/templates/admin-api/service-admin-api.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.enterprise.enabled }}
1+
{{- if and .Values.enterprise.enabled .Values.enterprise.adminApi.enabled }}
22
apiVersion: v1
33
kind: Service
44
metadata:
@@ -25,4 +25,4 @@ spec:
2525
targetPort: grpc
2626
selector:
2727
{{- include "enterprise-logs.adminApiSelectorLabels" . | nindent 4 }}
28-
{{- end }}
28+
{{- end }}

0 commit comments

Comments
 (0)