-
Notifications
You must be signed in to change notification settings - Fork 54
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
Develop mosip 15265 #232
Open
pramod444
wants to merge
18
commits into
mosip:develop
Choose a base branch
from
pramod444:develop-MOSIP-15265
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Develop mosip 15265 #232
Changes from 7 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4490d8b
[MOSIP-15265] Added changes for postgres and config-server
pramod444 ca41464
[MOSIP-15265] updated _overides.tpl for config-server file and values…
pramod444 9f22bcf
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 37c9965
[MOSIP-15265] updated idp service details to postgres-init and config…
pramod444 135c33c
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 c3ed3cd
[MOSIP-15265] Updated postgres-init and config-server helm-charts and…
pramod444 c80bc03
[MOSIP-15265] Updated README.md file for db-password-gen.
pramod444 08dd9e4
[MOSIP-15265] Updated config-server helm-chart.
pramod444 68ee6df
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 6d9d8bb
[MOSIP-15265] updated postgres-init values.yaml.
pramod444 9fc4a06
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 4f581fc
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 2b24883
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 4992e41
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 91f52cd
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 54ec184
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 0eaee7e
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 3c49a0f
Merge branch 'develop' of https://github.com/mosip/mosip-helm into de…
pramod444 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ | ||
dependencies: | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 1.13.0 | ||
digest: sha256:e83af41b39942278f8389623671732e624f28c6f1ad6ac2d937e210c5f354a18 | ||
generated: "2022-03-26T11:47:19.149601+05:30" | ||
version: 1.17.1 | ||
digest: sha256:dacc73770a5640c011e067ff8840ddf89631fc19016c8d0a9e5ea160e7da8690 | ||
generated: "2022-09-22T17:43:44.902956972+05:30" |
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
charts/ |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v2 | ||
name: db-password-gen | ||
description: A Helm chart for Kubernetes to generate passwords for postgres DBs. | ||
type: application | ||
version: 12.0.2 | ||
dependencies: | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
tags: | ||
- bitnami-common | ||
version: 1.x.x | ||
|
||
home: https://mosip.io | ||
keywords: | ||
- postgres | ||
- db-password-gen | ||
- database | ||
maintainers: | ||
- email: [email protected] | ||
name: MOSIP |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# db-password-gen | ||
|
||
* Make sure Postgre server(s) are running | ||
* Update all database parameters in `values.yaml` | ||
* Add mosip helm repo | ||
``` | ||
* Update helm dependencies using: | ||
``` | ||
$ helm dependency update | ||
``` | ||
* Run the helm chart | ||
``` | ||
$ helm -n postgres install db-password-gen db-password-gen | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{{- if .Values.databases }} | ||
{{- range $key, $value := .Values.databases }} | ||
{{- $key := $key | replace "_" "-" }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: db-{{ $key }}-secret | ||
namespace: {{ $.Release.Namespace }} | ||
labels: {{- include "common.labels.standard" $ | nindent 4 }} | ||
app.kubernetes.io/component: db-password-gen | ||
{{- if $.Values.commonLabels }} | ||
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonLabels "context" $ ) | nindent 4 }} | ||
{{- end }} | ||
{{- if $.Values.commonAnnotations }} | ||
annotations: {{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 4 }} | ||
{{- end }} | ||
type: Opaque | ||
data: | ||
{{- if $value.enabled }} | ||
{{- if and $value.dbuser $value.dbuser.password }} | ||
db-{{$key}}-password: {{ $value.dbuser.password | b64enc | quote}} | ||
{{- else }} | ||
db-{{$key}}-password: {{ randAlphaNum 10 | b64enc | quote }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- end }} | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
databases: | ||
mosip_master: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_audit: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
|
||
mosip_keymgr: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_kernel: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_idmap: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_prereg: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_idrepo: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_ida: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_credential: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_regprc: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_regdevice: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_authdevice: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_pms: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_hotlist: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_resident: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_toolkit: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_digitalcard: | ||
enabled: true | ||
dbuser: | ||
password: "" | ||
|
||
mosip_idp: | ||
enabled: true | ||
dbuser: | ||
password: "" |
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 @@ | ||
dependencies: | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 1.13.0 | ||
digest: sha256:e83af41b39942278f8389623671732e624f28c6f1ad6ac2d937e210c5f354a18 | ||
generated: "2022-03-26T11:50:47.463553+05:30" | ||
version: 1.17.1 | ||
digest: sha256:dacc73770a5640c011e067ff8840ddf89631fc19016c8d0a9e5ea160e7da8690 | ||
generated: "2022-10-11T12:45:29.234004317+05:30" |
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
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 @@ | ||
dependencies: | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 1.13.0 | ||
digest: sha256:e83af41b39942278f8389623671732e624f28c6f1ad6ac2d937e210c5f354a18 | ||
generated: "2022-03-26T11:50:47.463553+05:30" | ||
version: 1.17.1 | ||
digest: sha256:dacc73770a5640c011e067ff8840ddf89631fc19016c8d0a9e5ea160e7da8690 | ||
generated: "2022-09-22T12:57:36.060140563+05:30" |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section can be removed. Since this is not being used by the helm chart anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sure, will remove the same.