Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rim99 committed Jan 19, 2025
1 parent 3523936 commit 31e46cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

{{- if eq .Values.tempo.deploymentMode "scalingMonolithic" }}
{{- if .Values.scalingMonolithic.networkPolicy.enabled }}
{{- if and (eq .Values.tempo.deploymentMode "scalingMonolithic") .Values.scalingMonolithic.networkPolicy.enabled }}
kind: NetworkPolicy
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
metadata:
Expand Down Expand Up @@ -123,4 +122,3 @@ spec:
{{- include "common.tplvalues.render" ( dict "value" .Values.scalingMonolithic.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}
4 changes: 1 addition & 3 deletions bitnami/grafana-tempo/templates/scaling-monolithic/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

{{- if eq .Values.tempo.deploymentMode "scalingMonolithic" }}
{{- if .Values.scalingMonolithic.pdb.create }}
{{- if and (eq .Values.tempo.deploymentMode "scalingMonolithic") .Values.scalingMonolithic.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
Expand All @@ -27,4 +26,3 @@ spec:
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
app.kubernetes.io/component: scaling-monolithic
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}

{{- if eq .Values.tempo.deploymentMode "scalingMonolithic" }}
{{- if and .Values.metrics.enabled .Values.metrics.serviceMonitor.enabled }}
{{- if and (eq .Values.tempo.deploymentMode "scalingMonolithic") .Values.metrics.enabled .Values.metrics.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand Down Expand Up @@ -47,4 +46,3 @@ spec:
matchNames:
- {{ include "common.names.namespace" . }}
{{- end }}
{{- end }}

0 comments on commit 31e46cd

Please sign in to comment.