Skip to content

Commit

Permalink
Don't install kubedb-catalog crds by default
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jan 27, 2024
1 parent 1c9c709 commit b4cb9cc
Show file tree
Hide file tree
Showing 40 changed files with 208 additions and 6,667 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ _testmain.go
/.crds
/charts/kubedb/charts
/charts/kubedb-one/charts
/charts/kubedb-catalog/charts
/charts/kubedb-opscenter/charts

.DS_Store
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ contents-%:
yq -y --indentless -i '.version="$(CHART_VERSION)"' ./charts/$*/Chart.yaml; \
yq -y --indentless -i '.dependencies |= map(select(.name == "$*").version="$(CHART_VERSION)")' ./charts/kubedb/Chart.yaml; \
yq -y --indentless -i '.dependencies |= map(select(.name == "$*").version="$(CHART_VERSION)")' ./charts/kubedb-one/Chart.yaml; \
yq -y --indentless -i '.dependencies |= map(select(.name == "$*").version="$(CHART_VERSION)")' ./charts/kubedb-catalog/Chart.yaml; \
yq -y --indentless -i '.dependencies |= map(select(.name == "$*").version="$(CHART_VERSION)")' ./charts/kubedb-opscenter/Chart.yaml; \
fi
@if [ ! -z "$(APP_VERSION)" ]; then \
Expand Down
23 changes: 23 additions & 0 deletions charts/kubedb-catalog-crds/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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/
13 changes: 13 additions & 0 deletions charts/kubedb-catalog-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v2
name: kubedb-catalog-crds
description: KubeDB Catalog Custom Resource Definitions
type: application
version: v2024.1.26-rc.0
appVersion: v2024.1.26-rc.0
home: https://kubedb.com
icon: https://cdn.appscode.com/images/products/kubedb/kubedb-community-icon.png
sources:
- https://github.com/kubedb
maintainers:
- name: appscode
email: [email protected]
44 changes: 44 additions & 0 deletions charts/kubedb-catalog-crds/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# KubeDB Catalog CRDs

[KubeDB Catalog CRDs](https://github.com/kubedb) - KubeDB Custom Resource Definitions

## TL;DR;

```bash
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubedb-catalog-crds --version=v2024.1.26-rc.0
$ helm upgrade -i kubedb-catalog-crds appscode/kubedb-catalog-crds -n kubedb --create-namespace --version=v2024.1.26-rc.0
```

## Introduction

This chart deploys KubeDB catalog crds on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.

## Prerequisites

- Kubernetes 1.20+

## Installing the Chart

To install/upgrade the chart with the release name `kubedb-catalog-crds`:

```bash
$ helm upgrade -i kubedb-catalog-crds appscode/kubedb-catalog-crds -n kubedb --create-namespace --version=v2024.1.26-rc.0
```

The command deploys KubeDB catalog crds on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.

> **Tip**: List all releases using `helm list`
## Uninstalling the Chart

To uninstall the `kubedb-catalog-crds`:

```bash
$ helm uninstall kubedb-catalog-crds -n kubedb
```

The command removes all the Kubernetes components associated with the chart and deletes the release.


18 changes: 18 additions & 0 deletions charts/kubedb-catalog-crds/doc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
project:
name: KubeDB Catalog CRDs
shortName: KubeDB Catalog CRDs
url: https://github.com/kubedb
description: KubeDB Custom Resource Definitions
app: KubeDB catalog crds
repository:
url: https://charts.appscode.com/stable/
name: appscode
chart:
name: kubedb-catalog-crds
values: -- generate from values file --
valuesExample: -- generate from values file --
prerequisites:
- Kubernetes 1.20+
release:
name: kubedb-catalog-crds
namespace: kubedb
3 changes: 3 additions & 0 deletions charts/kubedb-catalog-crds/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Get the KubeDB crds by running the following command:

kubectl get crds --selector=app.kubernetes.io/name=kubedb
3 changes: 3 additions & 0 deletions charts/kubedb-catalog-crds/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Default values for kubedb-catalog-crds.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
5 changes: 5 additions & 0 deletions charts/kubedb-catalog/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ sources:
maintainers:
- name: appscode
email: [email protected]
dependencies:
- name: kubedb-catalog-crds
repository: file://../kubedb-catalog-crds
condition: kubedb-catalog-crds.enabled
version: v2024.1.26-rc.0
1 change: 1 addition & 0 deletions charts/kubedb-catalog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ The following table lists the configurable parameters of the `kubedb-catalog` ch
| psp.kafka.allowPrivilegeEscalation | | <code>false</code> |
| psp.kafka.privileged | | <code>false</code> |
| skipDeprecated | Set true to avoid deploying deprecated versions | <code>true</code> |
| kubedb-catalog-crds.enabled | If enabled, installs the kubedb-crds chart | <code>true</code> |


Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade -i`. For example:
Expand Down
6 changes: 6 additions & 0 deletions charts/kubedb-catalog/requirements.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: kubedb-catalog-crds
repository: file://../kubedb-catalog-crds
version: v2024.1.26-rc.0
digest: sha256:686a1b684aae8d5452a197ecd0c9af547e666c57554399d5657c36b5594dfc93
generated: "2024-01-27T12:08:32.10113-08:00"
4 changes: 4 additions & 0 deletions charts/kubedb-catalog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,7 @@ psp:

# Set true to avoid deploying deprecated versions
skipDeprecated: true

kubedb-catalog-crds:
# If enabled, installs the kubedb-crds chart
enabled: true
Loading

0 comments on commit b4cb9cc

Please sign in to comment.