diff --git a/deploy/operator.yaml b/deploy/operator.yaml index fb11b18..f2744e5 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -6,7 +6,7 @@ metadata: name: siddhi-operator-config data: siddhiRunnerHome: /home/siddhi_user/siddhi-runner/ - siddhiRunnerImage: siddhiio/siddhi-runner-alpine:5.1.0 + siddhiRunnerImage: siddhiio/siddhi-runner-alpine:5.1.0-m1 autoIngressCreation: "true" --- @@ -28,7 +28,7 @@ spec: serviceAccountName: siddhi-operator containers: - name: siddhi-operator - image: siddhiio/siddhi-operator:0.2.0 + image: siddhiio/siddhi-operator:0.2.0-m1 command: - siddhi-operator imagePullPolicy: Always @@ -44,7 +44,7 @@ spec: - name: OPERATOR_NAME value: siddhi-operator - name: OPERATOR_VERSION - value: 0.2.0 + value: 0.2.0-m1 - name: OPERATOR_CONFIGMAP value: siddhi-operator-config @@ -65,7 +65,7 @@ spec: selector: matchLabels: name: siddhi-parser - version: 0.2.0 + version: 0.2.0-m1 strategy: rollingUpdate: maxSurge: 25% @@ -76,10 +76,10 @@ spec: creationTimestamp: null labels: name: siddhi-parser - version: 0.2.0 + version: 0.2.0-m1 spec: containers: - - image: siddhiio/siddhi-parser:0.2.0 + - image: siddhiio/siddhi-parser:0.2.0-m1 imagePullPolicy: IfNotPresent name: siddhirunner-msf4j ports: @@ -102,7 +102,7 @@ spec: targetPort: 9090 selector: name: siddhi-parser - version: 0.2.0 + version: 0.2.0-m1 sessionAffinity: None type: ClusterIP status: diff --git a/pkg/controller/siddhiprocess/config.go b/pkg/controller/siddhiprocess/config.go index 7bb9752..783c20c 100644 --- a/pkg/controller/siddhiprocess/config.go +++ b/pkg/controller/siddhiprocess/config.go @@ -33,7 +33,7 @@ import ( // Default configurations stored as constants. Further these constants used by the Configurations() function. const ( SiddhiHome string = "/home/siddhi_user/siddhi-runner/" - SiddhiImage string = "siddhiio/siddhi-runner-alpine:5.1.0" + SiddhiImage string = "siddhiio/siddhi-runner-alpine:5.1.0-m1" SiddhiRunnerPath string = "wso2/runner/" SiddhiCMExt string = "-siddhi" SiddhiExt string = ".siddhi" @@ -48,7 +48,7 @@ const ( RunnerRPath string = "bin/runner.sh" HostName string = "siddhi" OperatorName string = "siddhi-operator" - OperatorVersion string = "0.2.0" + OperatorVersion string = "0.2.0-m1" CRDName string = "SiddhiProcess" ReadWriteOnce string = "ReadWriteOnce" ReadOnlyMany string = "ReadOnlyMany" @@ -305,7 +305,7 @@ var testSP = &siddhiv1alpha2.SiddhiProcess{ }, Spec: siddhiv1alpha2.SiddhiProcessSpec{ Container: corev1.Container{ - Image: "siddhiio/siddhi-runner:5.1.0", + Image: SiddhiImage, }, MessagingSystem: siddhiv1alpha2.MessagingSystem{ Type: "nats",