This is an automated email from the ASF dual-hosted git repository.

gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new e4400b18 [hotfix][docs] Fix flink version in doc and yaml
e4400b18 is described below

commit e4400b180fc6f41da6c673c431149122cc3b0cb3
Author: yangjf2019 <[email protected]>
AuthorDate: Wed May 10 20:41:55 2023 +0800

    [hotfix][docs] Fix flink version in doc and yaml
---
 docs/content/docs/custom-resource/overview.md                       | 2 +-
 docs/content/docs/custom-resource/pod-template.md                   | 2 +-
 docs/content/docs/operations/rbac.md                                | 4 ++--
 examples/README.md                                                  | 2 +-
 examples/basic-session-deployment-and-job.yaml                      | 4 ++--
 examples/basic-session-job-only.yaml                                | 2 +-
 examples/flink-python-example/Dockerfile                            | 2 +-
 examples/flink-python-example/README.md                             | 4 ++--
 examples/pod-template.yaml                                          | 2 +-
 .../src/test/resources/test-session-job-with-unknown-fields.yaml    | 2 +-
 .../src/test/resources/test-session-job.yaml                        | 2 +-
 .../bases/flink-kubernetes-operator.clusterserviceversion.yaml      | 6 +++---
 12 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/docs/content/docs/custom-resource/overview.md 
b/docs/content/docs/custom-resource/overview.md
index ea0147a0..eb17b85a 100644
--- a/docs/content/docs/custom-resource/overview.md
+++ b/docs/content/docs/custom-resource/overview.md
@@ -185,7 +185,7 @@ metadata:
 spec:
   deploymentName: basic-session-cluster
   job:
-    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.3/flink-examples-streaming_2.12-1.15.3-TopSpeedWindowing.jar
+    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1-TopSpeedWindowing.jar
     parallelism: 4
     upgradeMode: stateless
 ```
diff --git a/docs/content/docs/custom-resource/pod-template.md 
b/docs/content/docs/custom-resource/pod-template.md
index e1d73e9a..942dd217 100644
--- a/docs/content/docs/custom-resource/pod-template.md
+++ b/docs/content/docs/custom-resource/pod-template.md
@@ -102,5 +102,5 @@ spec:
 
 {{< hint info >}}
 When using the operator with Flink native Kubernetes integration, please refer 
to [pod template field precedence](
-https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/resource-providers/native_kubernetes/#fields-overwritten-by-flink).
+https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/native_kubernetes/#fields-overwritten-by-flink).
 {{< /hint >}}
diff --git a/docs/content/docs/operations/rbac.md 
b/docs/content/docs/operations/rbac.md
index 76a0df12..788dc912 100644
--- a/docs/content/docs/operations/rbac.md
+++ b/docs/content/docs/operations/rbac.md
@@ -29,10 +29,10 @@ under the License.
 To be able to deploy the operator itself and Flink jobs, we define two 
separate Kubernetes
 
[roles](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#role-and-clusterrole).
 The former, called `flink-operator` role is used to manage the 
`flinkdeployments`, to create and manage the
-[JobManager](https://nightlies.apache.org/flink/flink-docs-stable/docs/concepts/flink-architecture/#jobmanager)
 deployment
+[JobManager](https://nightlies.apache.org/flink/flink-docs-master/docs/concepts/flink-architecture/#jobmanager)
 deployment
 for each Flink job and other resources like 
[services](https://kubernetes.io/docs/concepts/services-networking/service/).
 The latter, called the `flink` role is used by the JobManagers of the jobs to 
create and manage the
-[TaskManagers](https://nightlies.apache.org/flink/flink-docs-stable/docs/concepts/flink-architecture/#taskmanagers)
 and
+[TaskManagers](https://nightlies.apache.org/flink/flink-docs-master/docs/concepts/flink-architecture/#taskmanagers)
 and
 [ConfigMaps](https://kubernetes.io/docs/concepts/configuration/configmap/) for 
the job.
 
 {{< img src="/img/operations/rbac.svg" alt="Flink Operator RBAC Model" >}}
diff --git a/examples/README.md b/examples/README.md
index 680ded89..7200c801 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -48,7 +48,7 @@ kubectl apply -f basic.yaml
 ### Checkpointing & High Availability
 
 Basic example to configure Flink Deployments in
-[HA 
mode](https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/ha/overview/).
+[HA 
mode](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/ha/overview/).
 The example shows how to set savepoint directory, checkpoint directory and HA. 
To try out this run the following command:
 ```bash
 kubectl apply -f basic-checkpoint-ha.yaml
diff --git a/examples/basic-session-deployment-and-job.yaml 
b/examples/basic-session-deployment-and-job.yaml
index c92342f6..28457b60 100644
--- a/examples/basic-session-deployment-and-job.yaml
+++ b/examples/basic-session-deployment-and-job.yaml
@@ -40,7 +40,7 @@ metadata:
 spec:
   deploymentName: basic-session-deployment-example
   job:
-    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.2/flink-examples-streaming_2.12-1.15.2-TopSpeedWindowing.jar
+    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1-TopSpeedWindowing.jar
     parallelism: 4
     upgradeMode: stateless
 
@@ -52,7 +52,7 @@ metadata:
 spec:
   deploymentName: basic-session-deployment-example
   job:
-    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.2/flink-examples-streaming_2.12-1.15.2.jar
+    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1.jar
     parallelism: 2
     upgradeMode: stateless
     entryClass: 
org.apache.flink.streaming.examples.statemachine.StateMachineExample
diff --git a/examples/basic-session-job-only.yaml 
b/examples/basic-session-job-only.yaml
index 04bbc98e..d43e33ed 100644
--- a/examples/basic-session-job-only.yaml
+++ b/examples/basic-session-job-only.yaml
@@ -22,7 +22,7 @@ metadata:
 spec:
   deploymentName: basic-session-deployment-only-example
   job:
-    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.3/flink-examples-streaming_2.12-1.15.3-TopSpeedWindowing.jar
+    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1-TopSpeedWindowing.jar
     parallelism: 4
     upgradeMode: stateless
 
diff --git a/examples/flink-python-example/Dockerfile 
b/examples/flink-python-example/Dockerfile
index f2ff220c..47052007 100644
--- a/examples/flink-python-example/Dockerfile
+++ b/examples/flink-python-example/Dockerfile
@@ -15,7 +15,7 @@
 #  See the License for the specific language governing permissions and
 # limitations under the License.
 
################################################################################
-# Check 
https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/resource-providers/standalone/docker/#using-flink-python-on-docker
 for more details
+# Check 
https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/standalone/docker/#using-flink-python-on-docker
 for more details
 FROM flink:1.16
 
 # install python3: it has updated Python to 3.9 in Debian 11 and so install 
Python 3.7 from source, \
diff --git a/examples/flink-python-example/README.md 
b/examples/flink-python-example/README.md
index 904cf80c..b3dfa21d 100644
--- a/examples/flink-python-example/README.md
+++ b/examples/flink-python-example/README.md
@@ -42,7 +42,7 @@ method of PythonDriver and parse arguments declared in the 
`args` field of the j
 
 Note, in `args` field, users must either specify `-py` option or `-pym` 
option. 
 Besides, order of elements in `args` field matters: due to current parsing 
process, Flink specific options(e.g -pyfs, -py) must be placed at first and 
-user-defined arguments should be placed in the end. Check the 
[doc](https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/cli/#submitting-pyflink-jobs)
 for more details about PyFlink arguments.
+user-defined arguments should be placed in the end. Check the 
[doc](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/cli/#submitting-pyflink-jobs)
 for more details about PyFlink arguments.
 
 A working example would be:
 ```yaml
@@ -63,7 +63,7 @@ Dockerfile
 
 **Step 2**: Build docker image
 
-Check this 
[doc](https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/resource-providers/standalone/docker/#using-flink-python-on-docker)
 for more details about building Pyflink image. Note, Pyflink 1.15.3 is only 
supported on x86 arch.  
+Check this 
[doc](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/standalone/docker/#using-flink-python-on-docker)
 for more details about building Pyflink image. Note, Pyflink 1.15.3 is only 
supported on x86 arch.  
 ```bash
 # Uncomment when building for local minikube env:
 # eval $(minikube docker-env)
diff --git a/examples/pod-template.yaml b/examples/pod-template.yaml
index 83199619..a5e0ff20 100644
--- a/examples/pod-template.yaml
+++ b/examples/pod-template.yaml
@@ -73,7 +73,7 @@ spec:
             - /bin/sh
             - -c
             - "wget -O /opt/flink/downloads/flink-examples-streaming.jar \
-              
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.2/flink-examples-streaming_2.12-1.15.2.jar";
+              
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1.jar";
   taskManager:
     resource:
       memory: "2048m"
diff --git 
a/flink-kubernetes-operator-api/src/test/resources/test-session-job-with-unknown-fields.yaml
 
b/flink-kubernetes-operator-api/src/test/resources/test-session-job-with-unknown-fields.yaml
index 1e28385e..72a1e478 100644
--- 
a/flink-kubernetes-operator-api/src/test/resources/test-session-job-with-unknown-fields.yaml
+++ 
b/flink-kubernetes-operator-api/src/test/resources/test-session-job-with-unknown-fields.yaml
@@ -22,7 +22,7 @@ metadata:
 spec:
   deploymentName: basic-session-deployment-only-example
   job:
-    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.3/flink-examples-streaming_2.12-1.15.3-TopSpeedWindowing.jar
+    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1-TopSpeedWindowing.jar
     parallelism: 4
     upgradeMode: stateless
     unknownField: testUnknownField
diff --git 
a/flink-kubernetes-operator-api/src/test/resources/test-session-job.yaml 
b/flink-kubernetes-operator-api/src/test/resources/test-session-job.yaml
index e6d8123c..c62a4138 100644
--- a/flink-kubernetes-operator-api/src/test/resources/test-session-job.yaml
+++ b/flink-kubernetes-operator-api/src/test/resources/test-session-job.yaml
@@ -22,6 +22,6 @@ metadata:
 spec:
   deploymentName: basic-session-deployment-only-example
   job:
-    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.3/flink-examples-streaming_2.12-1.15.3-TopSpeedWindowing.jar
+    jarURI: 
https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1-TopSpeedWindowing.jar
     parallelism: 4
     upgradeMode: stateless
diff --git 
a/tools/olm/csv-template/bases/flink-kubernetes-operator.clusterserviceversion.yaml
 
b/tools/olm/csv-template/bases/flink-kubernetes-operator.clusterserviceversion.yaml
index bebfabea..51917803 100644
--- 
a/tools/olm/csv-template/bases/flink-kubernetes-operator.clusterserviceversion.yaml
+++ 
b/tools/olm/csv-template/bases/flink-kubernetes-operator.clusterserviceversion.yaml
@@ -29,8 +29,8 @@ metadata:
               "name":"basic-example"
           },
           "spec":{
-              "image":"flink:1.15",
-              "flinkVersion":"v1_15",
+              "image":"flink:1.16",
+              "flinkVersion":"v1_16",
               "flinkConfiguration":{
                   "taskmanager.numberOfTaskSlots":"2"
               },
@@ -63,7 +63,7 @@ metadata:
           "spec":{
             "deploymentName":"basic-session-cluster",
             "job":{
-                
"jarURI":"https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.15.0/flink-examples-streaming_2.12-1.15.0.jar";,
+                
"jarURI":"https://repo1.maven.org/maven2/org/apache/flink/flink-examples-streaming_2.12/1.16.1/flink-examples-streaming_2.12-1.16.1.jar";,
                 "parallelism":2,
                 "upgradeMode":"stateless",
                 
"entryClass":"org.apache.flink.streaming.examples.statemachine.StateMachineExample"

Reply via email to