Skip to content

Commit

Permalink
Helm chart to manage bigdata custom resrouces added
Browse files Browse the repository at this point in the history
In order to manage custom resources out of band from the default
helm crd installation process a new helm chart has been introduced that
enables us to deploy crds just like normal resources.
This has the advantage that we can actually introduce a new resource
through upgrades since helm only installs crds at install time.
  • Loading branch information
Arnar Páll authored and arnarpall committed Sep 8, 2023
1 parent f97ec1b commit 9b5b6a9
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 2 deletions.
23 changes: 23 additions & 0 deletions charts/bigdata-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/
17 changes: 17 additions & 0 deletions charts/bigdata-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v2
name: bigdata-crds
description: Custom Resource Definitions for the Spot Bigdata Platform
type: application
version: 1.0.0
appVersion: "1.0.0"
home: https://github.com/spotinst/charts
icon: https://docs.spot.io/_media/images/spot_mark.png
sources:
- https://github.com/spotinst/bigdata-operator
keywords:
- spot
- toolkit
- ocean
maintainers:
- name: thorsteinnth
email: thorsteinn.sigurdsson@netapp.com
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ spec:
singular: bigdatacomponent
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .spec.chartName
name: Chart
type: string
- jsonPath: .spec.version
name: Version
type: string
- jsonPath: .status.conditions[-1:].type
name: Status
type: string
- jsonPath: .status.conditions[-1:].message
name: Message
type: string
name: v1
schema:
openAPIV3Schema:
description: BigDataComponent is the Schema for the bigdatacomponents API
Expand Down
Empty file added charts/bigdata-crds/values.yaml
Empty file.
2 changes: 1 addition & 1 deletion charts/bigdata-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: bigdata-operator
description: Spot Ocean BigData Operator
type: application
version: 0.3.1
version: 0.3.2
appVersion: 0.3.0
home: https://github.com/spotinst/charts
icon: https://docs.spot.io/_media/images/spot_mark.png
Expand Down

0 comments on commit 9b5b6a9

Please sign in to comment.