generated from pravega/pravega-operator
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 80: Fixing tls bad certificate issue (#81)
* Issue 80: Fixing tls bad certificate issue Signed-off-by: SrishT <[email protected]> * Issue 80: CRD changes Signed-off-by: SrishT <[email protected]> Co-authored-by: SrishT <[email protected]>
- Loading branch information
Showing
8 changed files
with
25 additions
and
7 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
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
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,16 +1,18 @@ | ||
#! /bin/bash | ||
set -ex | ||
|
||
if [ "$#" -ne 2 ]; then | ||
if [[ "$#" -lt 1 || "$#" -gt 2 ]]; then | ||
echo "Error : Invalid number of arguments" | ||
Usage: "./pre-upgrade.sh <bookkeeper-operator-release-name> <bookkeeper-operator-namespace>" | ||
exit 1 | ||
fi | ||
|
||
name=$1 | ||
namespace=$2 | ||
namespace=${2:-default} | ||
|
||
kubectl annotate Service bookkeeper-webhook-svc meta.helm.sh/release-name=$name -n $namespace --overwrite | ||
kubectl annotate Service bookkeeper-webhook-svc meta.helm.sh/release-namespace=$namespace -n $namespace --overwrite | ||
kubectl label Service bookkeeper-webhook-svc app.kubernetes.io/managed-by=Helm -n $namespace --overwrite | ||
|
||
#deleting the mutatingwebhookconfiguration created by the previous operator | ||
kubectl delete mutatingwebhookconfiguration bookkeeper-webhook-config |
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