Skip to content
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 .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

- name: Upload the upgrade scripts
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BUILD_ARTIFACT }}
path: ${{ env.SERVICE_LOCATION }}/${{ env.BUILD_ARTIFACT }}.zip
Expand Down
4 changes: 2 additions & 2 deletions deploy/masterdata-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then
fi

NS=masterdata-loader
CHART_VERSION=12.0.1-develop
CHART_VERSION=12.0.2
echo WARNING: This need to be executed only once at the begining for masterdata deployment. If reexecuted in a working env this will reset the whole master_data DB tables resulting in data loss.
echo Please skip this if masterdata is already uploaded.
read -p "CAUTION: Do you still want to continue(Y/n)" yn
Expand All @@ -34,7 +34,7 @@ if [ $yn = "Y" ]

echo Loading masterdata
helm -n $NS install masterdata-loader mosip/masterdata-loader \
--set mosipDataGithubBranch="develop" \
--set mosipDataGithubBranch="v1.2.2.0" \
--set mosipDataGithubRepo="https://github.com/mosip/mosip-data" \
--set mosipDataXlsfolderPath="\/home/mosip/mosip-data/mosip_master/xlsx" \
--version $CHART_VERSION --wait --wait-for-jobs
Expand Down
34 changes: 17 additions & 17 deletions deploy/postgres-init-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,67 +4,67 @@ dbUserPasswords:
databases:
mosip_master:
enabled: true
branch: develop
branch: v1.2.1.1

mosip_audit:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_keymgr:
enabled: true
branch: develop
enabled: true
branch: v1.2.0.1

mosip_kernel:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_idmap:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_prereg:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_idrepo:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_ida:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_credential:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_regprc:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_pms:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_hotlist:
enabled: true
branch: develop
branch: v1.2.1.1

mosip_resident:
enabled: true
branch: develop
branch: v1.2.1.1

mosip_otp:
enabled: true
branch: develop
branch: v1.2.0.1

mosip_toolkit:
enabled: false
branch: v1.3.2

mosip_digitalcard:
enabled: false
branch: develop
branch: v1.2.0.1

mosip_esignet:
enabled: false
Expand Down
2 changes: 1 addition & 1 deletion deploy/postgres-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi

function initialize_db() {
NS=postgres
CHART_VERSION=12.0.1-develop
CHART_VERSION=12.0.2
helm repo update
while true; do
read -p "CAUTION: all existing data will be lost. Are you sure?(Y/n)" yn
Expand Down
6 changes: 6 additions & 0 deletions deploy/postgres-upgrade.csv
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ mosip_pms,1.2.0.1-B4,1.2.0.1,upgrade
mosip_master,1.1.5.5,1.2.0.1-B1,upgrade
mosip_master,1.2.0.1-B1,1.2.0.1-B2,upgrade
mosip_master,1.2.0.1-B2,1.2.0.1,upgrade
mosip_master,1.2.0.1,1.2.1.0,upgrade
mosip_master,1.2.1.0,1.2.1.1,upgrade
mosip_keymgr,1.1.5.5,1.2.0.1-B1,upgrade
mosip_keymgr,1.2.0.1-B1,1.2.0.1-B2,upgrade
mosip_keymgr,1.2.0.1-B2,1.2.0.1-B3,upgrade
Expand All @@ -46,6 +48,10 @@ mosip_resident,1.1.5.5,1.2.0.1-B1,upgrade
mosip_resident,1.2.0.1-B1,1.2.0.1-B2,upgrade
mosip_resident,1.2.0.1-B2,1.2.0.1-B3,upgrade
mosip_resident,1.2.0.1-B3,1.2.0.1,upgrade
mosip_resident,1.2.0.1,1.2.1.0,upgrade
mosip_resident,1.2.1.0,1.2.1.1,upgrade
mosip_hotlist,1.1.5.5,1.2.0.1-B1,upgrade
mosip_hotlist,1.2.0.1-B1,1.2.0.1-B2,upgrade
mosip_hotlist,1.2.0.1-B2,1.2.0.1,upgrade
mosip_hotlist,1.2.0.1,1.2.1.0,upgrade
mosip_hotlist,1.2.1.0,1.2.1.1,upgrade
2 changes: 1 addition & 1 deletion helm/masterdata-loader/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: masterdata-loader
description: A Helm chart to upload default masterdata to mosip_master DB.
type: application
version: 12.0.1-develop
version: 12.0.2
appVersion: 1.2.0
dependencies:
- name: common
Expand Down
54 changes: 21 additions & 33 deletions helm/masterdata-loader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
# Declare variables to be passed into your templates.

replicaCount: 1

image:
repository: mosipid/masterdata-loader
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: 1.2.0.1

tag: 1.2.0.2
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand All @@ -22,65 +19,56 @@ serviceAccount:
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""

jobAnnotations: {}

jobSecurityContext: {}
# fsGroup: 2000
# fsGroup: 2000

securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000

service:
type: ClusterIP
port: 80

ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

## "backoff" strategy - It is used when dealing with resources that are retrying or recovering from failures.
##
backoffLimit: 0

nodeSelector: {}

tolerations: []

affinity: {}

db:
host: "postgres-postgresql.postgres"
port: 5432
user: masteruser
secret:
name: db-common-secrets
key: db-dbuser-password

mosipDataGithubBranch: 1.2.0.1-B1
mosipDataGithubBranch: 1.2.2.0
2 changes: 1 addition & 1 deletion helm/postgres-init/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: postgres-init
description: A Helm chart for Kubernetes to initialize various Postgres DBs.
type: application
version: 12.0.1-develop
version: 12.0.2
appVersion: 1.2.0
dependencies:
- name: common
Expand Down
Loading