forked from cravall/mongo-k8s-sidecar
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): use the external mongo hosts value (#22)
* feat(*): use the external mongo hosts value * chore(*): update version
- Loading branch information
Xinzhao Xu
authored
Jan 15, 2021
1 parent
0a2200f
commit e659dda
Showing
5 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: v2 | ||
appVersion: v0.1.0 | ||
appVersion: v0.1.1 | ||
description: A helm chart for mongo | ||
name: infra-mongo | ||
type: application | ||
version: v0.1.0 | ||
version: v0.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{{- range tuple "0" "1" "2" }} | ||
{{- range $index, $value := .Values.platformConfig.mongoHosts }} | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: infra-mongo-infra-mongo-{{ . }} | ||
name: infra-mongo-infra-mongo-{{ $index }} | ||
namespace: {{ $.Release.Namespace | quote }} | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 100Gi | ||
volumeName: infra-mongo-infra-mongo-{{ . }} | ||
volumeName: infra-mongo-infra-mongo-{{ $index }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters