Skip to content

Commit

Permalink
Merge pull request #35 from alexandrud/osrm-backend
Browse files Browse the repository at this point in the history
fix "error validating data: ValidationError(Deployment.spec.replicas)"
  • Loading branch information
alexandrud authored Jan 25, 2021
2 parents 5791602 + 58d03de commit 390ee55
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/nominatim/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nominatim
description: Helm chart for Nominatim
type: application
version: 0.0.7
version: 0.0.8
appVersion: "3.5"
keywords:
- maps
Expand Down
2 changes: 1 addition & 1 deletion charts/nominatim/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "nominatim.labels" . | nindent 4 }}
spec:
{{- if .Values.initNominatim }}
replicas: "1"
replicas: 1
{{- else }}
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
Expand Down
2 changes: 1 addition & 1 deletion charts/osrm-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: osrm-backend
description: Helm chart for Open Source Routing Machine
type: application
version: 0.1.1
version: 0.1.2
appVersion: "v5.23.0"
keywords:
- maps
Expand Down
2 changes: 1 addition & 1 deletion charts/osrm-backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "osrm-backend.labels" . | nindent 4 }}
spec:
{{- if .Values.initOsrm }}
replicas: "1"
replicas: 1
{{- else }}
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
Expand Down

0 comments on commit 390ee55

Please sign in to comment.