From 1abeae3da3e3263ef29f42e6951c15619a5c77fc Mon Sep 17 00:00:00 2001 From: Igor Vinokur Date: Tue, 2 Apr 2024 15:19:03 +0300 Subject: [PATCH] Add a new devfile version with an https endpoint (#342) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add a new devfile versio§n with an https endpoint Signed-off-by: ivinokur * fixup! Add a new devfile versio§n with an https endpoint Signed-off-by: ivinokur --------- Signed-off-by: ivinokur --- stacks/nodejs-react/{2.2.0 => 2.2.1}/devfile.yaml | 5 +++-- stacks/nodejs-react/stack.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename stacks/nodejs-react/{2.2.0 => 2.2.1}/devfile.yaml (94%) diff --git a/stacks/nodejs-react/2.2.0/devfile.yaml b/stacks/nodejs-react/2.2.1/devfile.yaml similarity index 94% rename from stacks/nodejs-react/2.2.0/devfile.yaml rename to stacks/nodejs-react/2.2.1/devfile.yaml index 9a6c61e3..4dc736df 100644 --- a/stacks/nodejs-react/2.2.0/devfile.yaml +++ b/stacks/nodejs-react/2.2.1/devfile.yaml @@ -11,7 +11,7 @@ metadata: projectType: React language: TypeScript provider: Red Hat - version: 2.2.0 + version: 2.2.1 starterProjects: - name: nodejs-react-starter git: @@ -22,8 +22,9 @@ starterProjects: components: - container: endpoints: - - name: http-react + - name: https-react targetPort: 3000 + protocol: https image: registry.access.redhat.com/ubi8/nodejs-18:1-94.1711445596 args: ['tail', '-f', '/dev/null'] memoryLimit: 1024Mi diff --git a/stacks/nodejs-react/stack.yaml b/stacks/nodejs-react/stack.yaml index 647cbaf6..16da3437 100644 --- a/stacks/nodejs-react/stack.yaml +++ b/stacks/nodejs-react/stack.yaml @@ -7,5 +7,5 @@ icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main versions: - version: 2.0.2 - version: 2.1.0 + - version: 2.2.1 default: true # should have one and only one default version - - version: 2.2.0