Skip to content

Commit

Permalink
create Helm chart (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
plaharanne authored Sep 21, 2022
1 parent f9a5fb7 commit 59baaa2
Show file tree
Hide file tree
Showing 16 changed files with 961 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ repos:
rev: "v1.25.0"
hooks:
- id: yamllint
exclude: "^(\\.pre-commit-config\\.yaml|\\.github/workflows/.*|\\.github/dependabot\\.yml)$"
exclude: "^(\\.pre-commit-config\\.yaml|\\.github/workflows/.*|\\.github/dependabot\\.yml|deploy/charts/.*)$"
23 changes: 23 additions & 0 deletions deploy/charts/crate-operator-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/
18 changes: 18 additions & 0 deletions deploy/charts/crate-operator-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v2
name: crate-operator-crds
description: Crate Operator CRDs - Helm chart for installing and upgrading Custom Resource Definitions (CRDs) for the Crate Operator.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2.14.0"

maintainers:
- name: Crate.io
22 changes: 22 additions & 0 deletions deploy/charts/crate-operator-crds/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Crate Operator CRDs Helm Chart

A Helm chart for installing and upgrading the CRDs for [Crate Operator](https://github.com/crate/crate-operator).
To be able to deploy the custom resource CrateDB to a Kubernetes cluster, the API needs to be extended with a Custom Resource Definition (CRD).

Helm must be installed to use the charts. Please refer to Helm's [documentation](https://helm.sh/docs/) to get started.

## Usage

Once Helm is properly set up, install the chart.

### Install from local folder

```shell
helm install crate-operator-crds crate-operator-crds
```

### Upgrading the Operator

```
helm upgrade --atomic crate-operator-crds crate-operator-crds
```
1 change: 1 addition & 0 deletions deploy/charts/crate-operator-crds/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Thank you for installing {{ .Chart.Name }}.
Loading

0 comments on commit 59baaa2

Please sign in to comment.