File tree Expand file tree Collapse file tree 11 files changed +25
-15
lines changed Expand file tree Collapse file tree 11 files changed +25
-15
lines changed Original file line number Diff line number Diff line change @@ -247,10 +247,10 @@ pipeline {
247247 export IMAGE_PULL_SECRETS=coherence-k8s-operator-development-secret,ocr-k8s-operator-development-secret
248248 export RELEASE_IMAGE_PREFIX=$(eval echo $TEST_IMAGE_PREFIX)
249249 export TEST_MANIFEST_VALUES=deploy/oci-values.yaml
250- kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
251- kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
252- kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
253- kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
250+ kubectl apply --validate=false - f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
251+ kubectl apply --validate=false - f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
252+ kubectl apply --validate=false - f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
253+ kubectl apply --validate=false - f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
254254 make helm-test GO_TEST_FLAGS='-short'
255255 '''
256256 }
Original file line number Diff line number Diff line change 88# ---------------------------------------------------------------------------
99
1010# The version of the Operator being build - this should be a valid SemVer format
11- VERSION ?= 2.0.2
11+ VERSION ?= 2.0.3
1212
1313# VERSION_SUFFIX is ann optional version suffix. For a full release this should be
1414# set to blank, for an interim release it should be set to a value to identify that
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import (
1616 "github.com/oracle/coherence-operator/pkg/flags"
1717 "github.com/oracle/coherence-operator/pkg/operator"
1818 cohrest "github.com/oracle/coherence-operator/pkg/rest"
19+ "k8s.io/klog"
1920 "net/http"
2021 "os"
2122 "runtime"
@@ -81,12 +82,21 @@ func main() {
8182 pflag .CommandLine .AddGoFlagSet (flag .CommandLine )
8283
8384 // >>>>>>>> Coherence Operator code added to Operator SDK the generated file ---------------------------
85+
86+ // ensure that klog always logs to the console
87+ klog .InitFlags (flag .CommandLine )
88+ if err := flag .CommandLine .Set ("logtostderr" , "true" ); err != nil {
89+ fmt .Println (err )
90+ log .Error (err , "Failed to get set logtostderr command line flag" )
91+ os .Exit (1 )
92+ }
93+
8494 // create Coherence Operator flags
8595 cohf := flags .AddTo (pflag .CommandLine )
8696
8797 // create Helm Operator flags
8898 hflags := hoflags .AddTo (pflag .CommandLine )
89- fmt . Println ( hflags )
99+
90100 // <<<<<<<< Coherence Operator code added to Operator SDK the generated file ---------------------------
91101
92102 pflag .Parse ()
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ By default the version number used to tag the Docker images and Helm charts is s
4747in the `Makefile` and in the `pom.xml` files in the `java/` directory.
4848
4949The `Makefile` also contains a `VERSION_SUFFIX` variable that is used to add a suffix to the build. By default
50- this suffix is `ci` so the default version of the build artifacts is `2.0.2 -ci`. Change this suffix, for
50+ this suffix is `ci` so the default version of the build artifacts is `2.0.3 -ci`. Change this suffix, for
5151example when building a release candidate or a full release.
5252
5353For example, if building a release called `alpha2` the following command can be used:
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ This will result in the following Docker image being created which contains the
152152artifacts to be use by all deployments.
153153
154154``` console
155- deployment-example:2.0.2
155+ deployment-example:2.0.3
156156```
157157## Install the Coherence Operator
158158
Original file line number Diff line number Diff line change 1515 <parent >
1616 <groupId >com.oracle.coherence.kubernetes</groupId >
1717 <artifactId >examples-parent</artifactId >
18- <version >2.0.2 </version >
18+ <version >2.0.3 </version >
1919 <relativePath >../pom.xml</relativePath >
2020 </parent >
2121
2222 <artifactId >deployment-example</artifactId >
2323 <name >Coherence Operator Deployment Example</name >
24- <version >2.0.2 </version >
24+ <version >2.0.3 </version >
2525
2626 <properties >
2727 <maven .compiler.source>8</maven .compiler.source>
Original file line number Diff line number Diff line change 1616 <groupId >com.oracle.coherence.kubernetes</groupId >
1717 <artifactId >examples-parent</artifactId >
1818 <packaging >pom</packaging >
19- <version >2.0.2 </version >
19+ <version >2.0.3 </version >
2020
2121 <description >Oracle Coherence Operator Examples Project</description >
2222 <name >Oracle Coherence Operator Examples Parent</name >
Original file line number Diff line number Diff line change 1515 <parent >
1616 <groupId >com.oracle.coherence.kubernetes</groupId >
1717 <artifactId >operator-parent</artifactId >
18- <version >2.0.2 </version >
18+ <version >2.0.3 </version >
1919 </parent >
2020
2121 <artifactId >coherence-utils</artifactId >
Original file line number Diff line number Diff line change 1515 <parent >
1616 <groupId >com.oracle.coherence.kubernetes</groupId >
1717 <artifactId >operator-parent</artifactId >
18- <version >2.0.2 </version >
18+ <version >2.0.3 </version >
1919 </parent >
2020
2121 <artifactId >operator-docs</artifactId >
Original file line number Diff line number Diff line change 1515 <parent >
1616 <groupId >com.oracle.coherence.kubernetes</groupId >
1717 <artifactId >operator-parent</artifactId >
18- <version >2.0.2 </version >
18+ <version >2.0.3 </version >
1919 </parent >
2020
2121 <artifactId >operator-test</artifactId >
You can’t perform that action at this time.
0 commit comments