Skip to content

Commit

Permalink
Set builder profiles trait as a mutiple value
Browse files Browse the repository at this point in the history
  • Loading branch information
gansheer authored and squakez committed Aug 30, 2023
1 parent 73e9f12 commit 8f7b1a6
Show file tree
Hide file tree
Showing 26 changed files with 494 additions and 390 deletions.
87 changes: 45 additions & 42 deletions config/crd/bases/camel.apache.org_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,50 +310,53 @@ spec:
localRepository:
description: The path of the local Maven repository.
type: string
profile:
profiles:
description: A reference to the ConfigMap or Secret
key that contains the Maven profile.
properties:
configMapKeyRef:
description: Selects a key of a ConfigMap.
properties:
key:
description: The key to select.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
optional:
description: Specify whether the ConfigMap or
its key must be defined
type: boolean
required:
- key
type: object
secretKeyRef:
description: Selects a key of a secret.
properties:
key:
description: The key of the secret to select
from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
optional:
description: Specify whether the Secret or its
key must be defined
type: boolean
required:
- key
type: object
type: object
items:
description: ValueSource --
properties:
configMapKeyRef:
description: Selects a key of a ConfigMap.
properties:
key:
description: The key to select.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
optional:
description: Specify whether the ConfigMap
or its key must be defined
type: boolean
required:
- key
type: object
secretKeyRef:
description: Selects a key of a secret.
properties:
key:
description: The key of the secret to select
from. Must be a valid secret key.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion,
kind, uid?'
type: string
optional:
description: Specify whether the Secret or
its key must be defined
type: boolean
required:
- key
type: object
type: object
type: array
properties:
additionalProperties:
type: string
Expand Down
22 changes: 12 additions & 10 deletions config/crd/bases/camel.apache.org_integrationkits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,18 @@ spec:
description: When using `pod` strategy, the maximum amount
of memory required by the pod builder.
type: string
mavenProfile:
description: 'A reference pointing to a configmap/secret that
contains a maven profile. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
items:
type: string
type: array
orderStrategy:
description: The build order strategy to use, either `dependencies`,
`fifo` or `sequential` (default sequential)
Expand Down
Loading

0 comments on commit 8f7b1a6

Please sign in to comment.