Skip to content

Commit 4b44998

Browse files
committed
Update to 2.1; minor script fixes
1 parent 9aa6a3a commit 4b44998

File tree

8 files changed

+12
-26
lines changed

8 files changed

+12
-26
lines changed

docs/charts/index.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
apiVersion: v1
2-
entries:
3-
weblogic-operator:
4-
- created: 2019-02-13T14:31:18.637128976-08:00
5-
description: Helm package for creation of the Weblogic operator.
6-
digest: de086ca50a523ec94afc216b0b45ca7d431c6c9c454ea5d26c1ccd76220a5e7f
7-
name: weblogic-operator
8-
urls:
9-
- https://oracle.github.io/weblogic-kubernetes-operator/charts/weblogic-operator-2.tgz
10-
version: "2"
11-
generated: 2019-02-13T14:31:18.636253861-08:00
2+
entries: {}
3+
generated: 2019-02-14T12:10:28.288131-05:00
8.23 KB
Binary file not shown.
-17.8 KB
Binary file not shown.

kubernetes/charts/weblogic-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33

44
name: weblogic-operator
5-
version: 2.0
5+
version: 2.1
66
description: Helm package for creation of the Weblogic operator.

kubernetes/charts/weblogic-operator/index.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

kubernetes/charts/weblogic-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ serviceAccount: "default"
1818
domainNamespaces: [ "default" ]
1919

2020
# image specifies the docker image containing the operator code.
21-
image: "weblogic-kubernetes-operator:1.1"
21+
image: "oracle/weblogic-kubernetes-operator:2.1"
2222

2323
# imagePullPolicy specifies the image pull policy for the operator docker image.
2424
imagePullPolicy: "IfNotPresent"
-8.31 KB
Binary file not shown.

kubernetes/package-helm-charts.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,21 @@ out="$(helm package $WOCHARTPATH -d $SCRIPTPATH)"
2323
helm_package=$(echo $out | cut -d ':' -f 2)
2424
helm_package_name=$(basename $helm_package)
2525

26-
dsttime="$(stat $mod_time_fmt $SCRIPTPATH/../docs/charts/$helm_package_name)"
26+
dsttime=0
27+
if [ -f $SCRIPTPATH/../docs/charts/$helm_package_name ]; then
28+
dsttime="$(stat $mod_time_fmt $SCRIPTPATH/../docs/charts/$helm_package_name)"
29+
fi
2730

2831
if [ $srctime \> $dsttime ];
2932
then
33+
mkdir $SCRIPTPATH/../docs/charts
3034
helm repo index $WOCHARTPATH/ --url https://oracle.github.io/weblogic-kubernetes-operator/charts
3135

32-
cp $WOCHARTPATH/index.yaml $SCRIPTPATH/../docs/charts
33-
mv $helm_package $SCRIPTPATH/../docs/charts/ -f
36+
mv -f $WOCHARTPATH/index.yaml $SCRIPTPATH/../docs/charts
37+
mv -f $helm_package $SCRIPTPATH/../docs/charts/
3438
else
3539
rm $helm_package
40+
rm $WOCHARTPATH/index.yaml
3641
fi;
3742

3843

0 commit comments

Comments
 (0)