diff --git a/cute-name-service/package.json b/cute-name-service/package.json index f9cf072..791608b 100644 --- a/cute-name-service/package.json +++ b/cute-name-service/package.json @@ -8,7 +8,7 @@ "test": "mocha", "lint:fix": "eslint . --fix", "prepublish": "license-reporter report --silent", - "openshift": "nodeshift --dockerImage=registry.access.redhat.com/ubi8/nodejs-14:latest", + "openshift": "nodeshift --dockerImage=registry.access.redhat.com/ubi8/nodejs-14", "postinstall": "license-reporter report --silent && license-reporter save --xml licenses.xml --silent", "start": "node ." }, diff --git a/greeting-service/package.json b/greeting-service/package.json index da16e4f..50b436b 100644 --- a/greeting-service/package.json +++ b/greeting-service/package.json @@ -9,7 +9,7 @@ "lint:fix": "eslint . --fix", "start": "node .", "prepublish": "license-reporter report --silent", - "openshift": "registry.access.redhat.com/ubi8/nodejs-14:latest", + "openshift": "nodeshift --dockerImage=registry.access.redhat.com/ubi8/nodejs-14", "postinstall": "license-reporter report --silent && license-reporter save --xml licenses.xml --silent" }, "main": "./bin/www", diff --git a/service.cache.yml b/service.cache.yml index 2076985..8edbca9 100644 --- a/service.cache.yml +++ b/service.cache.yml @@ -1,13 +1,15 @@ apiVersion: v1 kind: List items: - - apiVersion: extensions/v1beta1 - kind: Deployment + - apiVersion: v1 + kind: DeploymentConfig metadata: name: cache-server labels: app: cache-server spec: + selector: + app: cache-server replicas: 1 strategy: type: Recreate @@ -69,4 +71,4 @@ items: port: 11333 protocol: TCP targetPort: 11333 - type: ClusterIP \ No newline at end of file + type: ClusterIP