Skip to content

Commit

Permalink
[MOSIP-27549] updated scripts (mosip#259)
Browse files Browse the repository at this point in the history
* [MOSIP-27549] added error handling

* [MOSIP-27549] updated copy_cm.sh

* [MOSIP-27549] updated scripts sh to bash

* [MOSIP-27549] updated scripts
  • Loading branch information
Rakshithb1 authored and ase-101 committed Jan 22, 2024
1 parent fbd2bea commit 6c9612a
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions helm/delete-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ fi

function Deleting_All() {
ROOT_DIR=`pwd`
SOFTHSM_NS=softhsm

helm -n $SOFTHSM_NS delete softhsm-esignet

declare -a module=("redis"
"esignet"
Expand Down
2 changes: 1 addition & 1 deletion helm/esignet/copy_cm.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copy configmaps from other namespaces
# DST_NS: Destination namespace

Expand Down
2 changes: 1 addition & 1 deletion helm/esignet/delete.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Uninstalls all esignet helm charts
## Usage: ./delete.sh [kubeconfig]

Expand Down
2 changes: 1 addition & 1 deletion helm/esignet/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Installs all esignet helm charts
## Usage: ./install.sh [kubeconfig]

Expand Down
2 changes: 1 addition & 1 deletion helm/esignet/restart.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Restart the esignet services

if [ $# -ge 1 ] ; then
Expand Down
2 changes: 1 addition & 1 deletion helm/oidc-ui/copy_cm.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copy configmaps from other namespaces
# DST_NS: Destination namespace

Expand Down
2 changes: 1 addition & 1 deletion helm/oidc-ui/delete.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Uninstalls oidc-ui helm charts
## Usage: ./delete.sh [kubeconfig]

Expand Down
2 changes: 1 addition & 1 deletion helm/oidc-ui/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Installs oidc-ui helm charts
## Usage: ./install.sh [kubeconfig]

Expand Down
2 changes: 1 addition & 1 deletion helm/oidc-ui/restart.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Restart the oidc-ui services


Expand Down
2 changes: 1 addition & 1 deletion helm/redis/delete.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Uninstalls kafka
## Usage: ./delete.sh [kubeconfig]

Expand Down
2 changes: 1 addition & 1 deletion helm/redis/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Installs redis
## Usage: ./install.sh [kubeconfig]

Expand Down

0 comments on commit 6c9612a

Please sign in to comment.