Skip to content

Commit 4ac8152

Browse files
committed
[SPARK-52106] Update Helm Chart to use apache/spark-kubernetes-operator for image.repository
1 parent a90741f commit 4ac8152

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Build Operator Image
6262
run: |
6363
./gradlew buildDockerImage
64-
docker run spark-kubernetes-operator:$(./gradlew properties | grep '^version:' | awk '{print $2}')
64+
docker run apache/spark-kubernetes-operator:$(./gradlew properties | grep '^version:' | awk '{print $2}')
6565
k8s-integration-tests:
6666
name: "K8s Integration Tests"
6767
runs-on: ubuntu-latest

.github/workflows/publish_snapshot_chart.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
export DIR=charts-${{ matrix.branch }}
4444
fi
4545
cd build-tools/helm
46-
sed -i 's/repository: /repository: apache\//' spark-kubernetes-operator/values.yaml
4746
sed -i 's/tag: .*$/tag: ${{ matrix.branch }}-snapshot/' spark-kubernetes-operator/values.yaml
4847
mkdir -p tmp/$DIR
4948
helm package spark-kubernetes-operator -d tmp/$DIR --app-version ${{ matrix.branch }}-snapshot

build-tools/helm/spark-kubernetes-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
image:
17-
repository: spark-kubernetes-operator
17+
repository: apache/spark-kubernetes-operator
1818
pullPolicy: IfNotPresent
1919
tag: 0.2.0-SNAPSHOT
2020
# If image digest is set then it takes precedence and the image tag will be ignored

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ allprojects {
3838
}
3939

4040
tasks.register('buildDockerImage', Exec) {
41-
String cmd = "docker build --build-arg APP_VERSION=${version} -t spark-kubernetes-operator:${version} -f build-tools/docker/Dockerfile ."
41+
String cmd = "docker build --build-arg APP_VERSION=${version} -t apache/spark-kubernetes-operator:${version} -f build-tools/docker/Dockerfile ."
4242
println "Build Docker Image: $cmd"
4343
commandLine "sh", "-c", "$cmd"
4444
}

docs/operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ following table:
5959

6060
| Parameters | Description | Default value |
6161
|---------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
62-
| image.repository | The image repository of spark-kubernetes-operator. | spark-kubernetes-operator |
62+
| image.repository | The image repository of spark-kubernetes-operator. | apache/spark-kubernetes-operator |
6363
| image.pullPolicy | The image pull policy of spark-kubernetes-operator. | IfNotPresent |
6464
| image.tag | The image tag of spark-kubernetes-operator. | 0.2.0-SNAPSHOT |
6565
| image.digest | The image digest of spark-kubernetes-operator. If set then it takes precedence and the image tag will be ignored. | |

0 commit comments

Comments
 (0)