-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: petar-cvit <[email protected]>
- Loading branch information
1 parent
81221c3
commit 9ebac8d
Showing
24 changed files
with
782 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,25 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
# Ignore Notes.txt file | ||
Notes.txt |
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,18 @@ | ||
annotations: | ||
catalog.cattle.io/certified: partner | ||
catalog.cattle.io/display-name: Cyclops | ||
catalog.cattle.io/kube-version: '>=1.21-0' | ||
catalog.cattle.io/namespace: cyclops | ||
catalog.cattle.io/release-name: cyclops | ||
apiVersion: v2 | ||
appVersion: v0.15.4 | ||
description: Cyclops Helm chart | ||
home: https://cyclops-ui.com/ | ||
icon: file://assets/icons/cyclops.png | ||
keywords: | ||
- Devops | ||
- Kubernetes operator | ||
kubeVersion: '>=1.21-0' | ||
name: cyclops | ||
type: application | ||
version: 0.14.2 |
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,31 @@ | ||
# Cyclops | ||
|
||
![](https://raw.githubusercontent.com/cyclops-ui/cyclops/main/web/static/img/cyclops-simplistic.png) | ||
|
||
Cyclops is an open-source tool that allows you to create custom Kubernetes UIs. With Cyclops, you can specify the right level of abstraction you need while deploying applications. You can specify all the Kubernetes objects that your system needs, as well as all of the fields your developers need to get their apps deployed - validations included! | ||
|
||
You can check [Cyclops landing page](https://cyclops-ui.com) or our [GitHub repo](https://github.com/cyclops-ui/cyclops) for documentation and more details. | ||
|
||
You can confirm Cyclops is healthy by checking if Cyclops pods are up and running. You can do it with the command below | ||
|
||
``` | ||
kubectl get pods -n cyclops | ||
``` | ||
|
||
and if Cyclops is healthy, you will get an output similar to the one below: | ||
|
||
``` | ||
NAME READY STATUS RESTARTS AGE | ||
cyclops-ctrl-8b9cff4db-p74x6 1/1 Running 0 38s | ||
cyclops-ui-6cb54c69bf-g78d5 1/1 Running 0 38s | ||
``` | ||
|
||
Cyclops UI is exposed via a Kubernetes service. You can port forward the service and use it from localhost with the command below: | ||
|
||
``` | ||
kubectl port-forward svc/cyclops-ui -n cyclops 3000:3000 | ||
``` | ||
|
||
You can now access Cyclops in your browser on `http://localhost:3000`. | ||
|
||
Alternatively, you can expose Cyclops service via ingress. |
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,147 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: modules.cyclops-ui.com | ||
spec: | ||
group: cyclops-ui.com | ||
names: | ||
kind: Module | ||
listKind: ModuleList | ||
plural: modules | ||
singular: module | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Module is the Schema for the modules API | ||
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 | ||
history: | ||
items: | ||
properties: | ||
generation: | ||
format: int64 | ||
type: integer | ||
template: | ||
properties: | ||
path: | ||
type: string | ||
repo: | ||
type: string | ||
sourceType: | ||
enum: | ||
- git | ||
- helm | ||
- oci | ||
type: string | ||
version: | ||
type: string | ||
required: | ||
- path | ||
- repo | ||
- version | ||
type: object | ||
values: | ||
x-kubernetes-preserve-unknown-fields: true | ||
required: | ||
- generation | ||
- template | ||
- values | ||
type: object | ||
type: array | ||
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: | ||
description: ModuleSpec defines the desired state of Module | ||
properties: | ||
targetNamespace: | ||
type: string | ||
template: | ||
properties: | ||
path: | ||
type: string | ||
repo: | ||
type: string | ||
sourceType: | ||
enum: | ||
- git | ||
- helm | ||
- oci | ||
type: string | ||
version: | ||
type: string | ||
required: | ||
- path | ||
- repo | ||
- version | ||
type: object | ||
values: | ||
x-kubernetes-preserve-unknown-fields: true | ||
required: | ||
- template | ||
- values | ||
type: object | ||
status: | ||
description: ModuleStatus defines the observed state of Module | ||
properties: | ||
iconURL: | ||
type: string | ||
managedGVRs: | ||
items: | ||
properties: | ||
group: | ||
type: string | ||
resource: | ||
type: string | ||
version: | ||
type: string | ||
required: | ||
- group | ||
- resource | ||
- version | ||
type: object | ||
type: array | ||
reconciliationStatus: | ||
properties: | ||
errors: | ||
items: | ||
type: string | ||
type: array | ||
reason: | ||
type: string | ||
status: | ||
default: unknown | ||
enum: | ||
- unknown | ||
- succeeded | ||
- failed | ||
type: string | ||
type: object | ||
templateResolvedVersion: | ||
type: string | ||
required: | ||
- reconciliationStatus | ||
- templateResolvedVersion | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
102 changes: 102 additions & 0 deletions
102
charts/cyclops/cyclops/0.14.2/crds/template-auth-rule.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,102 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: templateauthrules.cyclops-ui.com | ||
spec: | ||
group: cyclops-ui.com | ||
names: | ||
kind: TemplateAuthRule | ||
listKind: TemplateAuthRuleList | ||
plural: templateauthrules | ||
singular: templateauthrule | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: TemplateAuthRule is the Schema for the modules API | ||
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: | ||
description: TemplateAuthRuleSpec defines the desired state of TemplateAuthRule | ||
properties: | ||
password: | ||
description: SecretKeySelector 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: | ||
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 | ||
repo: | ||
type: string | ||
username: | ||
description: SecretKeySelector 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: | ||
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 | ||
required: | ||
- password | ||
- repo | ||
- username | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
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,60 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: templatestores.cyclops-ui.com | ||
spec: | ||
group: cyclops-ui.com | ||
names: | ||
kind: TemplateStore | ||
listKind: TemplateStoreList | ||
plural: templatestores | ||
singular: templatestore | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: TemplateStore holds reference to a template that can be offered | ||
as a starting point | ||
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: | ||
path: | ||
type: string | ||
repo: | ||
type: string | ||
sourceType: | ||
enum: | ||
- git | ||
- helm | ||
- oci | ||
type: string | ||
version: | ||
type: string | ||
required: | ||
- path | ||
- repo | ||
- version | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |
Oops, something went wrong.