diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml
new file mode 100644
index 0000000..f1acbca
--- /dev/null
+++ b/.github/workflows/dependency-check.yml
@@ -0,0 +1,61 @@
+# This workflow will check if dependencies have changed (adding new dependencies or removing existing ones)
+
+name: Dependency Check
+
+on:
+ push:
+ branches:
+ - master
+ - "new_*"
+ paths-ignore:
+ - 'docs/**'
+ - 'site/**'
+ pull_request:
+ branches:
+ - master
+ - "new_*"
+ paths-ignore:
+ - 'docs/**'
+ - 'site/**'
+ # allow manually run the action:
+ workflow_dispatch:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+env:
+ MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+ MAVEN_ARGS: --batch-mode --no-transfer-progress
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
+
+jobs:
+ dependency-check:
+ strategy:
+ fail-fast: false
+ max-parallel: 15
+ matrix:
+ java: [ 17 ]
+ os: [ ubuntu-latest ]
+ runs-on: ${{ matrix.os }}
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v4
+ with:
+ distribution: corretto
+ java-version: ${{ matrix.java }}
+
+ - name: Cache Maven packages
+ uses: actions/cache@v4
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2-
+
+ - name: Do the dependency check
+ shell: bash
+ run: mvn verify -Dmaven.test.skip=true -Dmdep.analyze.skip=true -P enable-sbom-check
\ No newline at end of file
diff --git a/.github/workflows/grafana-plugin.yml b/.github/workflows/grafana-plugin.yml
index d1ddf79..2a354ef 100644
--- a/.github/workflows/grafana-plugin.yml
+++ b/.github/workflows/grafana-plugin.yml
@@ -22,7 +22,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - name: Checkout code
+ uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
new file mode 100644
index 0000000..9aab6e4
--- /dev/null
+++ b/.github/workflows/sonar.yml
@@ -0,0 +1,65 @@
+# This workflow will build a Java project with Maven
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+
+name: Sonar
+
+on:
+ push:
+ branches:
+ - master
+ - "new_*"
+ paths-ignore:
+ - "docs/**"
+ - 'site/**'
+ pull_request:
+ branches:
+ - master
+ - "new_*"
+ paths-ignore:
+ - "docs/**"
+ - 'site/**'
+ # allow manually run the action:
+ workflow_dispatch:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+env:
+ MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+ MAVEN_ARGS: --batch-mode --no-transfer-progress
+ PR_NUMBER: ${{ github.event.number }}
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
+
+jobs:
+ sonar:
+ runs-on: ubuntu-latest
+ if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'apache/iotdb-extras' || github.event_name == 'push'
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up JDK 17
+ uses: actions/setup-java@v4
+ with:
+ distribution: corretto
+ java-version: 17
+
+ - name: Cache Maven packages
+ uses: actions/cache@v4
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2-
+
+ - name: SonarCloud Report
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
+ run: |
+ mvn -B -P verify sonar:sonar \
+ -Dsonar.organization=apache \
+ -Dsonar.projectKey=apache_iotdb_extras \
+ -Dsonar.host.url=https://sonarcloud.io \
+ -Dsonar.token=${{ secrets.SONARCLOUD_TOKEN }} \
+ -DskipTests -pl '!distribution' -am
\ No newline at end of file
diff --git a/.github/workflows/todos-check.yml b/.github/workflows/todos-check.yml
new file mode 100644
index 0000000..d246def
--- /dev/null
+++ b/.github/workflows/todos-check.yml
@@ -0,0 +1,39 @@
+name: Check TODOs and FIXMEs in Changed Files
+
+on:
+ pull_request:
+ branches:
+ - master
+ - "new_*"
+ paths-ignore:
+ - 'docs/**'
+ - 'site/**'
+ # allow manually run the action:
+ workflow_dispatch:
+
+jobs:
+ todo-check:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Check for TODOs and FIXMEs in changed files
+ run: |
+ # Fetch the target branch
+ git fetch origin $GITHUB_BASE_REF
+
+ git switch -c check_branch
+
+ # Get the diff of the changes
+ DIFF=$(git diff origin/$GITHUB_BASE_REF check_branch)
+
+
+ # Check the diff for TODOs
+ if echo "$DIFF" | grep -Eq '^\+.*(TODO|FIXME)'; then
+ echo "TODO or FIXME found in the changes. Please resolve it before merging."
+ # exit 1
+ else
+ echo "No TODOs found in changed content."
+ fi
\ No newline at end of file
diff --git a/connectors/flink-iotdb-connector/pom.xml b/connectors/flink-iotdb-connector/pom.xml
index 1c94777..1e6b6d0 100644
--- a/connectors/flink-iotdb-connector/pom.xml
+++ b/connectors/flink-iotdb-connector/pom.xml
@@ -20,7 +20,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
flink-iotdb-connector
IoTDB: Connector: Apache Flink
diff --git a/connectors/flink-sql-iotdb-connector/pom.xml b/connectors/flink-sql-iotdb-connector/pom.xml
index 2656091..be832af 100644
--- a/connectors/flink-sql-iotdb-connector/pom.xml
+++ b/connectors/flink-sql-iotdb-connector/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
flink-sql-iotdb-connector
IoTDB: Connector: Apache Flink SQL
diff --git a/connectors/flink-tsfile-connector/pom.xml b/connectors/flink-tsfile-connector/pom.xml
index dfda4ff..af6dc20 100644
--- a/connectors/flink-tsfile-connector/pom.xml
+++ b/connectors/flink-tsfile-connector/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
flink-tsfile-connector
IoTDB: Connector: Apache Flink TSFile
diff --git a/connectors/grafana-connector/pom.xml b/connectors/grafana-connector/pom.xml
index 23dff08..dd51d75 100644
--- a/connectors/grafana-connector/pom.xml
+++ b/connectors/grafana-connector/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
iotdb-grafana-connector
war
diff --git a/connectors/grafana-plugin/pom.xml b/connectors/grafana-plugin/pom.xml
index 467bbd4..927290c 100644
--- a/connectors/grafana-plugin/pom.xml
+++ b/connectors/grafana-plugin/pom.xml
@@ -20,7 +20,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
iotdb-grafana-plugin
pom
diff --git a/connectors/hadoop/pom.xml b/connectors/hadoop/pom.xml
index 883e193..7ee438a 100644
--- a/connectors/hadoop/pom.xml
+++ b/connectors/hadoop/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
hadoop-tsfile
IoTDB: Connector: Apache Hadoop TSFile
diff --git a/connectors/hive-connector/pom.xml b/connectors/hive-connector/pom.xml
index b38acae..5841575 100644
--- a/connectors/hive-connector/pom.xml
+++ b/connectors/hive-connector/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
hive-connector
IoTDB: Connector: Apache Hive
@@ -36,7 +36,7 @@
org.apache.iotdb
hadoop-tsfile
- 1.3.2-SNAPSHOT
+ 1.3.2
org.apache.iotdb
diff --git a/connectors/pom.xml b/connectors/pom.xml
index 4d93800..77b7801 100644
--- a/connectors/pom.xml
+++ b/connectors/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
iotdb-extras-parent
- 1.3.2-SNAPSHOT
+ 1.3.2
connectors
pom
diff --git a/connectors/spark-iotdb-connector/pom.xml b/connectors/spark-iotdb-connector/pom.xml
index cb9ba93..c7b2675 100644
--- a/connectors/spark-iotdb-connector/pom.xml
+++ b/connectors/spark-iotdb-connector/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
connectors
- 1.3.2-SNAPSHOT
+ 1.3.2
spark-iotdb-connector
@@ -50,7 +50,7 @@
org.apache.iotdb
flink-tsfile-connector
- 1.3.2-SNAPSHOT
+ 1.3.2
org.apache.flink
diff --git a/examples/hadoop/pom.xml b/examples/hadoop/pom.xml
index 1e1ca91..6ef496c 100644
--- a/examples/hadoop/pom.xml
+++ b/examples/hadoop/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
examples
- 1.3.2-SNAPSHOT
+ 1.3.2
hadoop-example
IoTDB: Example: Apache Hadoop
@@ -32,7 +32,7 @@
org.apache.iotdb
hadoop-tsfile
- 1.3.2-SNAPSHOT
+ 1.3.2
diff --git a/examples/kafka/pom.xml b/examples/kafka/pom.xml
index 25e69dd..5be2343 100644
--- a/examples/kafka/pom.xml
+++ b/examples/kafka/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
examples
- 1.3.2-SNAPSHOT
+ 1.3.2
kafka-example
IoTDB: Example: Apache Kafka
diff --git a/examples/pom.xml b/examples/pom.xml
index 94575b7..d61a0da 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
iotdb-extras-parent
- 1.3.2-SNAPSHOT
+ 1.3.2
examples
pom
diff --git a/examples/pulsar/pom.xml b/examples/pulsar/pom.xml
index 7d014eb..766e93e 100644
--- a/examples/pulsar/pom.xml
+++ b/examples/pulsar/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
examples
- 1.3.2-SNAPSHOT
+ 1.3.2
pulsar-example
IoTDB: Example: Apache Pulsar
diff --git a/examples/rabbitmq/pom.xml b/examples/rabbitmq/pom.xml
index ed781e0..3d2f99b 100644
--- a/examples/rabbitmq/pom.xml
+++ b/examples/rabbitmq/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
examples
- 1.3.2-SNAPSHOT
+ 1.3.2
rabbitmq-example
IoTDB: Example: RabbitMQ
diff --git a/examples/rocketmq/pom.xml b/examples/rocketmq/pom.xml
index 0fbd94c..0c3c135 100644
--- a/examples/rocketmq/pom.xml
+++ b/examples/rocketmq/pom.xml
@@ -24,7 +24,7 @@
org.apache.iotdb
examples
- 1.3.2-SNAPSHOT
+ 1.3.2
rocketmq-example
IoTDB: Example: Apache RocketMQ
diff --git a/helm/templates/NOTES.txt b/helm/templates/NOTES.txt
index b8dde4c..2a7a266 100644
--- a/helm/templates/NOTES.txt
+++ b/helm/templates/NOTES.txt
@@ -1 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
This is Apache IoTDB Distribution
diff --git a/iotdb-operator/.dockerignore b/iotdb-operator/.dockerignore
index a3aab7a..9493e1d 100644
--- a/iotdb-operator/.dockerignore
+++ b/iotdb-operator/.dockerignore
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore build and test binaries.
bin/
diff --git a/iotdb-operator/.golangci.yml b/iotdb-operator/.golangci.yml
index ca69a11..37bce69 100644
--- a/iotdb-operator/.golangci.yml
+++ b/iotdb-operator/.golangci.yml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
run:
timeout: 5m
allow-parallel-runners: true
diff --git a/iotdb-operator/Dockerfile b/iotdb-operator/Dockerfile
index 1e4e5e2..b290247 100644
--- a/iotdb-operator/Dockerfile
+++ b/iotdb-operator/Dockerfile
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# Build the manager binary
FROM golang:1.21 AS builder
ARG TARGETOS
diff --git a/iotdb-operator/Makefile b/iotdb-operator/Makefile
index dd025f6..9f3c7d9 100644
--- a/iotdb-operator/Makefile
+++ b/iotdb-operator/Makefile
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# VERSION defines the project version for the bundle.
# Update this value when you upgrade the version of your project.
# To re-generate a bundle for another specific version without changing the standard setup, you can:
diff --git a/iotdb-operator/PROJECT b/iotdb-operator/PROJECT
index 69e4c60..e9c43ec 100644
--- a/iotdb-operator/PROJECT
+++ b/iotdb-operator/PROJECT
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# Code generated by tool. DO NOT EDIT.
# This file is used to track the info used to scaffold your project
# and allow the plugins properly work.
diff --git a/iotdb-operator/config/certmanager/certificate.yaml b/iotdb-operator/config/certmanager/certificate.yaml
index 3bd38fd..32b67ab 100644
--- a/iotdb-operator/config/certmanager/certificate.yaml
+++ b/iotdb-operator/config/certmanager/certificate.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# The following manifests contain a self-signed issuer CR and a certificate CR.
# More document can be found at https://docs.cert-manager.io
# WARNING: Targets CertManager v1.0. Check https://cert-manager.io/docs/installation/upgrading/ for breaking changes.
diff --git a/iotdb-operator/config/certmanager/kustomization.yaml b/iotdb-operator/config/certmanager/kustomization.yaml
index bebea5a..3ac3519 100644
--- a/iotdb-operator/config/certmanager/kustomization.yaml
+++ b/iotdb-operator/config/certmanager/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
resources:
- certificate.yaml
diff --git a/iotdb-operator/config/certmanager/kustomizeconfig.yaml b/iotdb-operator/config/certmanager/kustomizeconfig.yaml
index cf6f89e..c308038 100644
--- a/iotdb-operator/config/certmanager/kustomizeconfig.yaml
+++ b/iotdb-operator/config/certmanager/kustomizeconfig.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# This configuration is for teaching kustomize how to update name ref substitution
nameReference:
- kind: Issuer
diff --git a/iotdb-operator/config/crd/bases/iotdb.apache.org_confignodes.yaml b/iotdb-operator/config/crd/bases/iotdb.apache.org_confignodes.yaml
index 857cda5..ff2adb9 100644
--- a/iotdb-operator/config/crd/bases/iotdb.apache.org_confignodes.yaml
+++ b/iotdb-operator/config/crd/bases/iotdb.apache.org_confignodes.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git a/iotdb-operator/config/crd/bases/iotdb.apache.org_datanodes.yaml b/iotdb-operator/config/crd/bases/iotdb.apache.org_datanodes.yaml
index 28109c9..b4e9ddf 100644
--- a/iotdb-operator/config/crd/bases/iotdb.apache.org_datanodes.yaml
+++ b/iotdb-operator/config/crd/bases/iotdb.apache.org_datanodes.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git a/iotdb-operator/config/crd/kustomization.yaml b/iotdb-operator/config/crd/kustomization.yaml
index 8668da2..c68089a 100644
--- a/iotdb-operator/config/crd/kustomization.yaml
+++ b/iotdb-operator/config/crd/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# This kustomization.yaml is not intended to be run by itself,
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
diff --git a/iotdb-operator/config/crd/kustomizeconfig.yaml b/iotdb-operator/config/crd/kustomizeconfig.yaml
index ec5c150..809410d 100644
--- a/iotdb-operator/config/crd/kustomizeconfig.yaml
+++ b/iotdb-operator/config/crd/kustomizeconfig.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# This file is for teaching kustomize how to substitute name and namespace reference in CRD
nameReference:
- kind: Service
diff --git a/iotdb-operator/config/crd/patches/cainjection_in_confignodes.yaml b/iotdb-operator/config/crd/patches/cainjection_in_confignodes.yaml
index e033ac0..10c3293 100644
--- a/iotdb-operator/config/crd/patches/cainjection_in_confignodes.yaml
+++ b/iotdb-operator/config/crd/patches/cainjection_in_confignodes.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# The following patch adds a directive for certmanager to inject CA into the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git a/iotdb-operator/config/crd/patches/cainjection_in_datanodes.yaml b/iotdb-operator/config/crd/patches/cainjection_in_datanodes.yaml
index 9170772..7716979 100644
--- a/iotdb-operator/config/crd/patches/cainjection_in_datanodes.yaml
+++ b/iotdb-operator/config/crd/patches/cainjection_in_datanodes.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# The following patch adds a directive for certmanager to inject CA into the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git a/iotdb-operator/config/crd/patches/webhook_in_confignodes.yaml b/iotdb-operator/config/crd/patches/webhook_in_confignodes.yaml
index 0b34b3d..e1c738e 100644
--- a/iotdb-operator/config/crd/patches/webhook_in_confignodes.yaml
+++ b/iotdb-operator/config/crd/patches/webhook_in_confignodes.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# The following patch enables a conversion webhook for the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git a/iotdb-operator/config/crd/patches/webhook_in_datanodes.yaml b/iotdb-operator/config/crd/patches/webhook_in_datanodes.yaml
index 5569395..b335c21 100644
--- a/iotdb-operator/config/crd/patches/webhook_in_datanodes.yaml
+++ b/iotdb-operator/config/crd/patches/webhook_in_datanodes.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# The following patch enables a conversion webhook for the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
diff --git a/iotdb-operator/config/default/kustomization.yaml b/iotdb-operator/config/default/kustomization.yaml
index 1699390..a005028 100644
--- a/iotdb-operator/config/default/kustomization.yaml
+++ b/iotdb-operator/config/default/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# Adds namespace to all resources.
namespace: iotdb-operator-system
diff --git a/iotdb-operator/config/default/manager_auth_proxy_patch.yaml b/iotdb-operator/config/default/manager_auth_proxy_patch.yaml
index 4c3c276..7430375 100644
--- a/iotdb-operator/config/default/manager_auth_proxy_patch.yaml
+++ b/iotdb-operator/config/default/manager_auth_proxy_patch.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# This patch inject a sidecar container which is a HTTP proxy for the
# controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews.
apiVersion: apps/v1
diff --git a/iotdb-operator/config/default/manager_config_patch.yaml b/iotdb-operator/config/default/manager_config_patch.yaml
index f6f5891..6ad3371 100644
--- a/iotdb-operator/config/default/manager_config_patch.yaml
+++ b/iotdb-operator/config/default/manager_config_patch.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/iotdb-operator/config/default/manager_webhook_patch.yaml b/iotdb-operator/config/default/manager_webhook_patch.yaml
index 738de35..1ec33c1 100644
--- a/iotdb-operator/config/default/manager_webhook_patch.yaml
+++ b/iotdb-operator/config/default/manager_webhook_patch.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/iotdb-operator/config/default/webhookcainjection_patch.yaml b/iotdb-operator/config/default/webhookcainjection_patch.yaml
index cdecabc..88ca0ff 100644
--- a/iotdb-operator/config/default/webhookcainjection_patch.yaml
+++ b/iotdb-operator/config/default/webhookcainjection_patch.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# This patch add annotation to admission webhook config and
# CERTIFICATE_NAMESPACE and CERTIFICATE_NAME will be substituted by kustomize
apiVersion: admissionregistration.k8s.io/v1
diff --git a/iotdb-operator/config/manager/kustomization.yaml b/iotdb-operator/config/manager/kustomization.yaml
index cb225b4..a3cb979 100644
--- a/iotdb-operator/config/manager/kustomization.yaml
+++ b/iotdb-operator/config/manager/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
resources:
- manager.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
diff --git a/iotdb-operator/config/manager/manager.yaml b/iotdb-operator/config/manager/manager.yaml
index ca6a566..f6c20d6 100644
--- a/iotdb-operator/config/manager/manager.yaml
+++ b/iotdb-operator/config/manager/manager.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: v1
kind: Namespace
metadata:
diff --git a/iotdb-operator/config/manifests/kustomization.yaml b/iotdb-operator/config/manifests/kustomization.yaml
index 72675f1..b2227e2 100644
--- a/iotdb-operator/config/manifests/kustomization.yaml
+++ b/iotdb-operator/config/manifests/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# These resources constitute the fully configured set of manifests
# used to generate the 'manifests/' directory in a bundle.
resources:
diff --git a/iotdb-operator/config/prometheus/kustomization.yaml b/iotdb-operator/config/prometheus/kustomization.yaml
index ed13716..8d3744f 100644
--- a/iotdb-operator/config/prometheus/kustomization.yaml
+++ b/iotdb-operator/config/prometheus/kustomization.yaml
@@ -1,2 +1,21 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
resources:
- monitor.yaml
diff --git a/iotdb-operator/config/prometheus/monitor.yaml b/iotdb-operator/config/prometheus/monitor.yaml
index 9dbbcef..1d30fa1 100644
--- a/iotdb-operator/config/prometheus/monitor.yaml
+++ b/iotdb-operator/config/prometheus/monitor.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# Prometheus Monitor Service (Metrics)
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
diff --git a/iotdb-operator/config/rbac/auth_proxy_client_clusterrole.yaml b/iotdb-operator/config/rbac/auth_proxy_client_clusterrole.yaml
index 4ed21d8..042cc5c 100644
--- a/iotdb-operator/config/rbac/auth_proxy_client_clusterrole.yaml
+++ b/iotdb-operator/config/rbac/auth_proxy_client_clusterrole.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
diff --git a/iotdb-operator/config/rbac/auth_proxy_role.yaml b/iotdb-operator/config/rbac/auth_proxy_role.yaml
index 95a9a38..727e40c 100644
--- a/iotdb-operator/config/rbac/auth_proxy_role.yaml
+++ b/iotdb-operator/config/rbac/auth_proxy_role.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
diff --git a/iotdb-operator/config/rbac/auth_proxy_role_binding.yaml b/iotdb-operator/config/rbac/auth_proxy_role_binding.yaml
index 5a8a946..61928fd 100644
--- a/iotdb-operator/config/rbac/auth_proxy_role_binding.yaml
+++ b/iotdb-operator/config/rbac/auth_proxy_role_binding.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
diff --git a/iotdb-operator/config/rbac/auth_proxy_service.yaml b/iotdb-operator/config/rbac/auth_proxy_service.yaml
index 005a0b3..b27fbc6 100644
--- a/iotdb-operator/config/rbac/auth_proxy_service.yaml
+++ b/iotdb-operator/config/rbac/auth_proxy_service.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: v1
kind: Service
metadata:
diff --git a/iotdb-operator/config/rbac/confignode_editor_role.yaml b/iotdb-operator/config/rbac/confignode_editor_role.yaml
index c66e966..e0935e6 100644
--- a/iotdb-operator/config/rbac/confignode_editor_role.yaml
+++ b/iotdb-operator/config/rbac/confignode_editor_role.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# permissions for end users to edit confignodes.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
diff --git a/iotdb-operator/config/rbac/confignode_viewer_role.yaml b/iotdb-operator/config/rbac/confignode_viewer_role.yaml
index dab03d0..caa8583 100644
--- a/iotdb-operator/config/rbac/confignode_viewer_role.yaml
+++ b/iotdb-operator/config/rbac/confignode_viewer_role.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# permissions for end users to view confignodes.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
diff --git a/iotdb-operator/config/rbac/datanode_editor_role.yaml b/iotdb-operator/config/rbac/datanode_editor_role.yaml
index 453e11a..6c59fab 100644
--- a/iotdb-operator/config/rbac/datanode_editor_role.yaml
+++ b/iotdb-operator/config/rbac/datanode_editor_role.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# permissions for end users to edit datanodes.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
diff --git a/iotdb-operator/config/rbac/datanode_viewer_role.yaml b/iotdb-operator/config/rbac/datanode_viewer_role.yaml
index 6791609..0992a13 100644
--- a/iotdb-operator/config/rbac/datanode_viewer_role.yaml
+++ b/iotdb-operator/config/rbac/datanode_viewer_role.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# permissions for end users to view datanodes.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
diff --git a/iotdb-operator/config/rbac/kustomization.yaml b/iotdb-operator/config/rbac/kustomization.yaml
index e761852..b4369be 100644
--- a/iotdb-operator/config/rbac/kustomization.yaml
+++ b/iotdb-operator/config/rbac/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
resources:
# All RBAC will be applied under this service account in
# the deployment namespace. You may comment out this resource
diff --git a/iotdb-operator/config/rbac/leader_election_role.yaml b/iotdb-operator/config/rbac/leader_election_role.yaml
index 2e94962..d59b408 100644
--- a/iotdb-operator/config/rbac/leader_election_role.yaml
+++ b/iotdb-operator/config/rbac/leader_election_role.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# permissions to do leader election.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
diff --git a/iotdb-operator/config/rbac/leader_election_role_binding.yaml b/iotdb-operator/config/rbac/leader_election_role_binding.yaml
index db8e447..5c1496b 100644
--- a/iotdb-operator/config/rbac/leader_election_role_binding.yaml
+++ b/iotdb-operator/config/rbac/leader_election_role_binding.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
diff --git a/iotdb-operator/config/rbac/role.yaml b/iotdb-operator/config/rbac/role.yaml
index 7f31866..784c989 100644
--- a/iotdb-operator/config/rbac/role.yaml
+++ b/iotdb-operator/config/rbac/role.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
diff --git a/iotdb-operator/config/rbac/role_binding.yaml b/iotdb-operator/config/rbac/role_binding.yaml
index 2a477a6..5bdb897 100644
--- a/iotdb-operator/config/rbac/role_binding.yaml
+++ b/iotdb-operator/config/rbac/role_binding.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
diff --git a/iotdb-operator/config/rbac/service_account.yaml b/iotdb-operator/config/rbac/service_account.yaml
index 480dd42..161787b 100644
--- a/iotdb-operator/config/rbac/service_account.yaml
+++ b/iotdb-operator/config/rbac/service_account.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: v1
kind: ServiceAccount
metadata:
diff --git a/iotdb-operator/config/samples/iotdb_v1_confignode.yaml b/iotdb-operator/config/samples/iotdb_v1_confignode.yaml
index b360776..150c995 100644
--- a/iotdb-operator/config/samples/iotdb_v1_confignode.yaml
+++ b/iotdb-operator/config/samples/iotdb_v1_confignode.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: iotdb.apache.org/v1
kind: ConfigNode
metadata:
diff --git a/iotdb-operator/config/samples/iotdb_v1_datanode.yaml b/iotdb-operator/config/samples/iotdb_v1_datanode.yaml
index fdf8bc0..0d78f29 100644
--- a/iotdb-operator/config/samples/iotdb_v1_datanode.yaml
+++ b/iotdb-operator/config/samples/iotdb_v1_datanode.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: iotdb.apache.org/v1
kind: DataNode
metadata:
diff --git a/iotdb-operator/config/samples/kustomization.yaml b/iotdb-operator/config/samples/kustomization.yaml
index ceabd95..3aa0ee5 100644
--- a/iotdb-operator/config/samples/kustomization.yaml
+++ b/iotdb-operator/config/samples/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
## Append samples of your project ##
resources:
- iotdb_v1_datanode.yaml
diff --git a/iotdb-operator/config/samples/pv-example/confignode-pv.yaml b/iotdb-operator/config/samples/pv-example/confignode-pv.yaml
index 059c216..da3bd9b 100644
--- a/iotdb-operator/config/samples/pv-example/confignode-pv.yaml
+++ b/iotdb-operator/config/samples/pv-example/confignode-pv.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: v1
kind: PersistentVolume
metadata:
diff --git a/iotdb-operator/config/samples/pv-example/datanode-pv.yaml b/iotdb-operator/config/samples/pv-example/datanode-pv.yaml
index 52edbd2..41bf4b8 100644
--- a/iotdb-operator/config/samples/pv-example/datanode-pv.yaml
+++ b/iotdb-operator/config/samples/pv-example/datanode-pv.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: v1
kind: PersistentVolume
metadata:
diff --git a/iotdb-operator/config/scorecard/bases/config.yaml b/iotdb-operator/config/scorecard/bases/config.yaml
index c770478..28f4990 100644
--- a/iotdb-operator/config/scorecard/bases/config.yaml
+++ b/iotdb-operator/config/scorecard/bases/config.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: scorecard.operatorframework.io/v1alpha3
kind: Configuration
metadata:
diff --git a/iotdb-operator/config/scorecard/kustomization.yaml b/iotdb-operator/config/scorecard/kustomization.yaml
index 50cd2d0..26ff7bf 100644
--- a/iotdb-operator/config/scorecard/kustomization.yaml
+++ b/iotdb-operator/config/scorecard/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
resources:
- bases/config.yaml
patchesJson6902:
diff --git a/iotdb-operator/config/scorecard/patches/basic.config.yaml b/iotdb-operator/config/scorecard/patches/basic.config.yaml
index d6d858a..39f51da 100644
--- a/iotdb-operator/config/scorecard/patches/basic.config.yaml
+++ b/iotdb-operator/config/scorecard/patches/basic.config.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
- op: add
path: /stages/0/tests/-
value:
diff --git a/iotdb-operator/config/scorecard/patches/olm.config.yaml b/iotdb-operator/config/scorecard/patches/olm.config.yaml
index b4325b7..f629ffd 100644
--- a/iotdb-operator/config/scorecard/patches/olm.config.yaml
+++ b/iotdb-operator/config/scorecard/patches/olm.config.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
- op: add
path: /stages/0/tests/-
value:
diff --git a/iotdb-operator/config/webhook/kustomization.yaml b/iotdb-operator/config/webhook/kustomization.yaml
index 9cf2613..5b6e0cc 100644
--- a/iotdb-operator/config/webhook/kustomization.yaml
+++ b/iotdb-operator/config/webhook/kustomization.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
resources:
- manifests.yaml
- service.yaml
diff --git a/iotdb-operator/config/webhook/kustomizeconfig.yaml b/iotdb-operator/config/webhook/kustomizeconfig.yaml
index 206316e..4d760b7 100644
--- a/iotdb-operator/config/webhook/kustomizeconfig.yaml
+++ b/iotdb-operator/config/webhook/kustomizeconfig.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
# the following config is for teaching kustomize where to look at when substituting nameReference.
# It requires kustomize v2.1.0 or newer to work properly.
nameReference:
diff --git a/iotdb-operator/config/webhook/manifests.yaml b/iotdb-operator/config/webhook/manifests.yaml
index b07640f..a340666 100644
--- a/iotdb-operator/config/webhook/manifests.yaml
+++ b/iotdb-operator/config/webhook/manifests.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
diff --git a/iotdb-operator/config/webhook/service.yaml b/iotdb-operator/config/webhook/service.yaml
index e63eca3..e164e89 100644
--- a/iotdb-operator/config/webhook/service.yaml
+++ b/iotdb-operator/config/webhook/service.yaml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
apiVersion: v1
kind: Service
metadata:
diff --git a/pom.xml b/pom.xml
index 75b8139..5d6ad9b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
org.apache.iotdb
iotdb-extras-parent
- 1.3.2-SNAPSHOT
+ 1.3.2
pom
Apache IoTDB Project Extras Parent POM
This is the secondary repository that builds the examples and integration modules for IoTDB.
@@ -1321,6 +1321,9 @@
**/*.json
**/*.zpln
+
+ **/go.mod
+ **/go.sum
**/yarn.lock
licenses/**