Skip to content
This repository was archived by the owner on Jun 7, 2021. It is now read-only.

Commit 88babc7

Browse files
committed
src: use quay.io and port 8080 again
1 parent 8ea8f3a commit 88babc7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: deploy/build/js-function-build-task.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
- name: generate
3030
image: quay.io/openshift-pipeline/s2i
3131
workingdir: '/home/node/usr'
32-
command: ['s2i', 'build', '.', 'docker.io/lanceball/js-runtime', '--as-dockerfile', '/home/node/build/Dockerfile.gen']
32+
command: ['s2i', 'build', '.', 'quay.io/lanceball/js-runtime', '--as-dockerfile', '/home/node/build/Dockerfile.gen']
3333
volumeMounts:
3434
- name: gen-source
3535
mountPath: /home/node/usr

Diff for: deploy/operator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
containers:
1717
- name: js-function-operator
1818
# Replace this with the built image name
19-
image: docker.io/lanceball/js-function-operator:v0.0.2
19+
image: quay.io/lanceball/js-function-operator:v0.0.2
2020
command:
2121
- js-function-operator
2222
imagePullPolicy: Always

Diff for: pkg/controller/jsfunction/jsfunction_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func createPodSpec(functionName, configMapName string, imageName string) corev1.
249249
Image: imageName,
250250
Name: fmt.Sprintf("nodejs-%s", functionName),
251251
Ports: []corev1.ContainerPort{{
252-
ContainerPort: 8181,
252+
ContainerPort: 8080,
253253
}},
254254
VolumeMounts: []corev1.VolumeMount{
255255
{

0 commit comments

Comments
 (0)