Skip to content

Commit

Permalink
Change CRDs in the chart
Browse files Browse the repository at this point in the history
  • Loading branch information
damsien committed May 29, 2024
1 parent 4c61ae7 commit 253378a
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 414 deletions.
81 changes: 64 additions & 17 deletions chart/0.0.1/templates/crd/kgio.dams.kgio_gitremotes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,58 @@ spec:
spec:
description: GitRemoteSpec defines the desired state of GitRemote
properties:
customGitProvider:
customGitProviderConfigRef:
description: |-
Reference to a ConfigMap to configuration the behavior of the GitRemote connexion with the distant server
Instead of using this type, create a locally provided and used type that is well-focused on your reference.
For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 .
properties:
authentication:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: |-
If referring to a piece of an object instead of an entire object, this string
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within a pod, this would take on a value like:
"spec.containers{name}" (where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
TODO: this design is not final and this field is subject to change in the future.
type: string
kind:
description: |-
Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
name:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type: string
namespace:
description: |-
Namespace of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
type: string
resourceVersion:
description: |-
Specific resourceVersion to which this reference is made, if any.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
type: string
fqdn:
uid:
description: |-
UID of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
type: string
required:
- authentication
- fqdn
type: object
x-kubernetes-map-type: atomic
email:
type: string
gitBaseDomainFQDN:
type: string
gitProvider:
type: string
remoteConfiguration:
properties:
caBundle:
type: string
insecureSkipTlsVerify:
type: boolean
type: object
secretRef:
description: |-
SecretReference represents a Secret Reference. It has enough information to retrieve secret
Expand All @@ -89,12 +118,30 @@ spec:
description: GitRemoteStatus defines the observed state of GitRemote
properties:
connexionStatus:
type: string
gitUserID:
properties:
details:
type: string
status:
type: string
type: object
gitProviderConfiguration:
properties:
authenticationEndpoint:
type: string
caBundle:
type: string
inherited:
type: boolean
insecureSkipTlsVerify:
type: boolean
type: object
gitUser:
type: string
lastAuthTime:
format: date-time
type: string
secretBoundStatus:
type: string
type: object
type: object
served: true
Expand Down
Loading

0 comments on commit 253378a

Please sign in to comment.