-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Create idpbuilder.cnoe.io_gitservers.yaml * Create idpbuilder.cnoe.io_localbuilds.yaml * Ignorance is not always bliss
- Loading branch information
Showing
3 changed files
with
145 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ idpbuilder | |
bin/* | ||
.DS_Store | ||
cover.out | ||
pkg/controllers/resources/* |
70 changes: 70 additions & 0 deletions
70
pkg/controllers/resources/idpbuilder.cnoe.io_gitservers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: gitservers.idpbuilder.cnoe.io | ||
spec: | ||
group: idpbuilder.cnoe.io | ||
names: | ||
kind: GitServer | ||
listKind: GitServerList | ||
plural: gitservers | ||
singular: gitserver | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
source: | ||
properties: | ||
embedded: | ||
description: Emedded enables the image containing the go binary | ||
embedded contents | ||
type: boolean | ||
image: | ||
description: Image specifies a docker image to use. Specifying | ||
this disables installation of embedded applications. | ||
type: string | ||
type: object | ||
type: object | ||
status: | ||
properties: | ||
deploymentAvailable: | ||
type: boolean | ||
host: | ||
description: Host is the host value of the ingress rule | ||
type: string | ||
imageID: | ||
description: ImageID is the id of the most recently generated docker | ||
image or empty if no image has been created | ||
type: string | ||
observedGeneration: | ||
description: ObservedGeneration is the 'Generation' of the Service | ||
that was last processed by the controller. | ||
format: int64 | ||
type: integer | ||
required: | ||
- deploymentAvailable | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
75 changes: 75 additions & 0 deletions
75
pkg/controllers/resources/idpbuilder.cnoe.io_localbuilds.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: localbuilds.idpbuilder.cnoe.io | ||
spec: | ||
group: idpbuilder.cnoe.io | ||
names: | ||
kind: Localbuild | ||
listKind: LocalbuildList | ||
plural: localbuilds | ||
singular: localbuild | ||
scope: Cluster | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
packageConfigs: | ||
properties: | ||
argoPackageConfigs: | ||
description: ArgoPackageConfigSpec Allows for configuration of | ||
the ArgoCD Installation. If no fields are specified then the | ||
binary embedded resources will be used to intall ArgoCD. | ||
properties: | ||
enabled: | ||
description: Enabled controls whether to install ArgoCD. | ||
type: boolean | ||
type: object | ||
embeddedArgoApplicationsPackageConfigs: | ||
description: EmbeddedArgoApplicationsPackageConfigSpec Controls | ||
the installation of the embedded argo applications. | ||
properties: | ||
enabled: | ||
description: Enabled controls whether to install the embedded | ||
argo applications and the associated GitServer | ||
type: boolean | ||
type: object | ||
type: object | ||
type: object | ||
status: | ||
properties: | ||
argoAppsCreated: | ||
type: boolean | ||
argoAvailable: | ||
type: boolean | ||
gitServerAvailable: | ||
type: boolean | ||
observedGeneration: | ||
description: ObservedGeneration is the 'Generation' of the Service | ||
that was last processed by the controller. | ||
format: int64 | ||
type: integer | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |