Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix templates #65

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/motive-cache/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description: A Helm chart for Kubernetes

type: application

version: 0.1.4
version: 0.1.5

appVersion: "1.0.0"
2 changes: 1 addition & 1 deletion charts/motive-cache/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# motive-cache

![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
4 changes: 2 additions & 2 deletions charts/motive-cache/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ affinity:
matchLabels:
{{- include "motive-cache.selectorLabels" $ | nindent 12 }}
topologyKey: {{ $.Values.podAntiAffinityTopologyKey }}
{{- if (semverCompare ">=1.29.0-0" $.Capabilities.KubeVersion.Version) -}}
{{- if (semverCompare ">=1.29.0-0" $.Capabilities.KubeVersion.Version) }}
matchLabelKeys:
- pod-template-hash
{{- end -}}
Expand All @@ -85,7 +85,7 @@ affinity:
matchLabels:
{{- include "motive-cache.selectorLabels" $ | nindent 14 }}
topologyKey: {{ $.Values.podAntiAffinityTopologyKey }}
{{- if (semverCompare ">=1.29.0-0" $.Capabilities.KubeVersion.Version) -}}
{{- if (semverCompare ">=1.29.0-0" $.Capabilities.KubeVersion.Version) }}
matchLabelKeys:
- pod-template-hash
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion charts/motive-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description: A Helm chart for Kubernetes

type: application

version: 2.0.11
version: 2.0.12

appVersion: "1.0.0"
2 changes: 1 addition & 1 deletion charts/motive-service/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# motive-service

![Version: 2.0.11](https://img.shields.io/badge/Version-2.0.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 2.0.12](https://img.shields.io/badge/Version-2.0.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.metrics.enabled .Values.metrics.prometheusRule.enabled (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") -}}
{{- if or (.Values.metrics.prometheusRule.defaultAlerts.kafka.enabled) (.Values.metrics.prometheusRule.extraRecordingRules) -}}
{{- if or (and .Values.metrics.prometheusRule.defaultAlerts.kafka.enabled .Values.metrics.prometheusRule.defaultAlerts.kafka.deadLetter.enabled) (.Values.metrics.prometheusRule.extraRecordingRules) -}}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
Expand Down
Loading