Skip to content

Commit 7d193c6

Browse files
Add documentdb chart (#1036)
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
1 parent 1294728 commit 7d193c6

14 files changed

Lines changed: 2513 additions & 2 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
Copyright AppsCode Inc. and Contributors
3+
4+
Licensed under the PolyForm Noncommercial License 1.0.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
https://github.com/appscode/licenses/raw/1.0.0/PolyForm-Noncommercial-1.0.0.md
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
package v1alpha1
18+
19+
import (
20+
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21+
api "x-helm.dev/apimachinery/apis/releases/v1alpha1"
22+
)
23+
24+
// KubedbcomDocumentDBEditorOptions defines the schama for DocumentDB Editor UI Options.
25+
26+
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
27+
28+
// +kubebuilder:object:root=true
29+
// +kubebuilder:resource:path=kubedbcomdocumentdbeditoroptionss,singular=kubedbcomdocumentdbeditoroptions
30+
type KubedbcomDocumentDBEditorOptions struct {
31+
metav1.TypeMeta `json:",inline,omitempty"`
32+
metav1.ObjectMeta `json:"metadata,omitempty"`
33+
Spec KubedbcomDocumentDBEditorOptionsSpec `json:"spec,omitempty"`
34+
}
35+
36+
// KubedbcomDocumentDBEditorOptionsSpec is the schema for DocumentDB profile values file
37+
type KubedbcomDocumentDBEditorOptionsSpec struct {
38+
api.Metadata `json:"metadata,omitempty"`
39+
Spec KubedbcomDocumentDBEditorOptionsSpecSpec `json:"spec"`
40+
}
41+
42+
type KubedbcomDocumentDBEditorOptionsSpecSpec struct {
43+
// +optional
44+
Annotations map[string]string `json:"annotations"`
45+
// +optional
46+
Labels map[string]string `json:"labels"`
47+
// +optional
48+
Replicas int `json:"replicas,omitempty"`
49+
Persistence Persistence `json:"persistence"`
50+
PodResources PodResources `json:"podResources"`
51+
AuthSecret AuthSecret `json:"authSecret"`
52+
DeletionPolicy DeletionPolicy `json:"deletionPolicy"`
53+
Configuration string `json:"configuration"`
54+
Admin AdminOptions `json:"admin"`
55+
Backup BackupToolSpec `json:"backup"`
56+
Monitoring MonitoringOperator `json:"monitoring"`
57+
// +optional
58+
Openshift Openshift `json:"openshift"`
59+
}
60+
61+
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
62+
63+
// KubedbcomDocumentDBEditorOptionsList is a list of KubedbcomDocumentDBEditorOptionss
64+
type KubedbcomDocumentDBEditorOptionsList struct {
65+
metav1.TypeMeta `json:",inline"`
66+
metav1.ListMeta `json:"metadata,omitempty"`
67+
// Items is a list of KubedbcomDocumentDBEditorOptions CRD objects
68+
Items []KubedbcomDocumentDBEditorOptions `json:"items,omitempty"`
69+
}

apis/wizards/v1alpha1/zz_generated.deepcopy.go

Lines changed: 115 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: v2
2+
name: kubedbcom-documentdb-editor-options
3+
description: DocumentDB Editor UI Options
4+
type: application
5+
version: v0.33.0
6+
appVersion: v0.33.0
7+
maintainers:
8+
- name: appscode
9+
email: support@appscode.com
10+
home: https://byte.builders
11+
icon: https://cdn.appscode.com/images/products/kubedb/kubedb-community-icon.png

0 commit comments

Comments
 (0)