Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add annotation to container spec and add validation to it #661

Merged
merged 3 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
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
139 changes: 139 additions & 0 deletions crds/workspace.devfile.io_devworkspaces.v1beta1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,21 @@ spec:
description: Allows adding and configuring devworkspace-related
containers
properties:
annotation:
description: Annotations that should be added to specific
resources for this container
properties:
deployment:
additionalProperties:
type: string
description: Annotations to be added to deployment
type: object
service:
additionalProperties:
type: string
description: Annotations to be added to service
type: object
type: object
args:
description: "The arguments to supply to the command running
the dockerimage component. The arguments are supplied
Expand Down Expand Up @@ -365,6 +380,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to Kubernetes
Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant string-based
free-form attributes. \n Examples of Che-specific
Expand Down Expand Up @@ -648,6 +669,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to Kubernetes
Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant string-based
free-form attributes. \n Examples of Che-specific
Expand Down Expand Up @@ -756,6 +783,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to Kubernetes
Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant string-based
free-form attributes. \n Examples of Che-specific
Expand Down Expand Up @@ -1082,6 +1115,23 @@ spec:
description: Allows adding and configuring devworkspace-related
containers
properties:
annotation:
description: Annotations that should be added
to specific resources for this container
properties:
deployment:
additionalProperties:
type: string
description: Annotations to be added to
deployment
type: object
service:
additionalProperties:
type: string
description: Annotations to be added to
service
type: object
type: object
args:
description: "The arguments to supply to the
command running the dockerimage component.
Expand Down Expand Up @@ -1113,6 +1163,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to
Kubernetes Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes. \n
Expand Down Expand Up @@ -1387,6 +1443,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to
Kubernetes Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes. \n
Expand Down Expand Up @@ -1505,6 +1567,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to
Kubernetes Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes. \n
Expand Down Expand Up @@ -1943,6 +2011,21 @@ spec:
description: Allows adding and configuring devworkspace-related
containers
properties:
annotation:
description: Annotations that should be added to specific
resources for this container
properties:
deployment:
additionalProperties:
type: string
description: Annotations to be added to deployment
type: object
service:
additionalProperties:
type: string
description: Annotations to be added to service
type: object
type: object
args:
description: "The arguments to supply to the command
running the dockerimage component. The arguments
Expand Down Expand Up @@ -1974,6 +2057,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to Kubernetes
Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes. \n Examples
Expand Down Expand Up @@ -2233,6 +2322,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to Kubernetes
Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes. \n Examples
Expand Down Expand Up @@ -2342,6 +2437,12 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added to Kubernetes
Ingress or Openshift Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes. \n Examples
Expand Down Expand Up @@ -2675,6 +2776,23 @@ spec:
description: Allows adding and configuring devworkspace-related
containers
properties:
annotation:
description: Annotations that should be
added to specific resources for this container
properties:
deployment:
additionalProperties:
type: string
description: Annotations to be added
to deployment
type: object
service:
additionalProperties:
type: string
description: Annotations to be added
to service
type: object
type: object
args:
description: "The arguments to supply to
the command running the dockerimage component.
Expand Down Expand Up @@ -2708,6 +2826,13 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added
to Kubernetes Ingress or Openshift
Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes.
Expand Down Expand Up @@ -2999,6 +3124,13 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added
to Kubernetes Ingress or Openshift
Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes.
Expand Down Expand Up @@ -3123,6 +3255,13 @@ spec:
endpoints:
items:
properties:
annotation:
additionalProperties:
type: string
description: Annotations to be added
to Kubernetes Ingress or Openshift
Route
type: object
attributes:
description: "Map of implementation-dependant
string-based free-form attributes.
Expand Down
Loading