Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions devfile.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
schemaVersion: 2.2.0
metadata:
name: dotnet60
version: 1.1.0
displayName: .NET 6.0
version: 1.1.1
icon: https://github.com/dotnet/brand/raw/main/logo/dotnet-logo.png
provider: Red Hat
supportUrl: https://github.com/devfile-samples/devfile-support#support-information
language: dotnet
language: .NET
projectType: dotnet
tags:
- dotnet
- .NET
attributes:
alpha.dockerimage-port: 8081
starterProjects:
Expand All @@ -24,7 +25,7 @@ components:
- name: dotnet
container:
image: registry.access.redhat.com/ubi8/dotnet-60:6.0
command: ["tail", "-f", "/dev/null"]
command: ['tail', '-f', '/dev/null']
mountSources: true
env:
- name: CONFIGURATION
Expand All @@ -38,15 +39,15 @@ components:
targetPort: 8080
- name: image-build
image:
imageName: "dotnet-image:latest"
imageName: 'dotnet-image:latest'
dockerfile:
uri: docker/Dockerfile
buildContext: .
rootRequired: false
- name: kubernetes-deploy
attributes:
deployment/replicas: 1
deployment/cpuLimit: "100m"
deployment/cpuLimit: '100m'
deployment/cpuRequest: 10m
deployment/memoryLimit: 300Mi
deployment/memoryRequest: 100Mi
Expand All @@ -60,7 +61,7 @@ components:
- name: kubernetes-service
attributes:
deployment/replicas: 1
deployment/cpuLimit: "100m"
deployment/cpuLimit: '100m'
deployment/cpuRequest: 10m
deployment/memoryLimit: 200Mi
deployment/memoryRequest: 100Mi
Expand All @@ -86,13 +87,13 @@ commands:
kind: run
- id: build-image
apply:
component: image-build
component: image-build
- id: deploy-deployment
apply:
component: kubernetes-deploy
component: kubernetes-deploy
- id: deploy-service
apply:
component: kubernetes-service
component: kubernetes-service
- id: deploy
composite:
commands:
Expand All @@ -102,4 +103,3 @@ commands:
group:
isDefault: true
kind: deploy