Skip to content

Commit

Permalink
Merge pull request #111 from projectsyn/commodore-renovate/quay.io-pr…
Browse files Browse the repository at this point in the history
…ojectsyn-lieutenant-operator-1.x

Update quay.io/projectsyn/lieutenant-operator Docker tag to v1.10.0
  • Loading branch information
bastjan authored Jul 17, 2024
2 parents 1e3cb89 + 9e65168 commit 1d2e274
Show file tree
Hide file tree
Showing 6 changed files with 512 additions and 2 deletions.
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ parameters:
operator:
registry: quay.io
repository: projectsyn/lieutenant-operator
version: '1.9.1'
version: '1.10.0'
api:
registry: docker.io
repository: projectsyn/lieutenant-api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ spec:
gitRepoTemplate:
description: GitRepoTemplate template for managing the GitRepo object.
properties:
accessToken:
description: |-
AccessToken contains configuration for storing an access token in a secret.
If set, the Lieutenant operator will store an access token into this secret, which can be used to access the Git repository.
The token is stored under the key "token".
In the case of GitLab, this would be a Project Access Token with read-write access to the repository.
properties:
secretRef:
description: SecretRef references the secret the access token
is stored in
type: string
type: object
apiSecretRef:
description: APISecretRef reference to secret containing connection
information
Expand All @@ -99,6 +111,79 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
ciVariables:
description: |-
CIVariables is a list of key-value pairs that will be set as CI variables in the Git repository.
The variables are not expanded like PodSpec environment variables.
items:
description: EnvVar represents an environment added to the CI
system of the Git repository.
properties:
gitlabOptions:
description: GitlabOptions contains additional options for
GitLab CI variables
properties:
description:
description: Description is a description of the CI
variable.
type: string
masked:
description: Masked will mask the variable in the job
logs.
type: boolean
protected:
description: Protected will expose the variable only
in protected branches and tags.
type: boolean
raw:
description: Raw will prevent the variable from being
expanded.
type: boolean
type: object
name:
description: Name of the environment variable
type: string
value:
description: Value of the environment variable
type: string
valueFrom:
description: ValueFrom is a reference to an object that
contains the value of the environment variable
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's
namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
default: ""
description: |-
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
type: object
type: array
creationPolicy:
description: |-
CreationPolicy defines how the external resources should be treated upon CR creation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ spec:
spec:
description: GitRepoSpec defines the desired state of GitRepo
properties:
accessToken:
description: |-
AccessToken contains configuration for storing an access token in a secret.
If set, the Lieutenant operator will store an access token into this secret, which can be used to access the Git repository.
The token is stored under the key "token".
In the case of GitLab, this would be a Project Access Token with read-write access to the repository.
properties:
secretRef:
description: SecretRef references the secret the access token
is stored in
type: string
type: object
apiSecretRef:
description: APISecretRef reference to secret containing connection
information
Expand All @@ -67,6 +79,75 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
ciVariables:
description: |-
CIVariables is a list of key-value pairs that will be set as CI variables in the Git repository.
The variables are not expanded like PodSpec environment variables.
items:
description: EnvVar represents an environment added to the CI system
of the Git repository.
properties:
gitlabOptions:
description: GitlabOptions contains additional options for GitLab
CI variables
properties:
description:
description: Description is a description of the CI variable.
type: string
masked:
description: Masked will mask the variable in the job logs.
type: boolean
protected:
description: Protected will expose the variable only in
protected branches and tags.
type: boolean
raw:
description: Raw will prevent the variable from being expanded.
type: boolean
type: object
name:
description: Name of the environment variable
type: string
value:
description: Value of the environment variable
type: string
valueFrom:
description: ValueFrom is a reference to an object that contains
the value of the environment variable
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
default: ""
description: |-
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string
optional:
description: Specify whether the Secret or its key must
be defined
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
type: object
type: array
creationPolicy:
description: |-
CreationPolicy defines how the external resources should be treated upon CR creation.
Expand Down Expand Up @@ -152,6 +233,10 @@ spec:
hostKeys:
description: SSH HostKeys of the git server
type: string
lastAppliedCIVariables:
description: LastAppliedCIVariables contains the last applied CI variables
as a json string
type: string
phase:
description: |-
Updated by Operator with current phase. The GitPhase enum will be used for application logic
Expand Down
Loading

0 comments on commit 1d2e274

Please sign in to comment.