Skip to content

Commit a732353

Browse files
committed
feat(openstack): convert our openstack prereqs to a helm chart
Convert our OpenStack prerequisites to a helm chart so we can make it easier to modify parts of these configs and add more in the future. This builds on the ideas in #531.
1 parent ec1ab76 commit a732353

11 files changed

+34
-14
lines changed

apps/site/openstack.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@ component: openstack
33
sources:
44
- ref: understack
55
path: 'components/openstack'
6+
helm:
7+
releaseName: openstack
8+
valueFiles:
9+
- $deploy/{{.name}}/helm-configs/openstack.yaml
10+
ignoreMissingValueFiles: true
611
- ref: deploy
712
path: '{{.name}}/manifests/openstack'

components/openstack/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
charts/

components/openstack/Chart.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: v2
2+
name: openstack
3+
description: UnderStack resources for OpenStack Helm
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18+
version: 0.1.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
# It is recommended to use it with quotes.
24+
appVersion: "1.16.0"

components/openstack/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# OpenStack
22

3-
These contain the pre-req components for deploying OpenStack.
3+
This is a Helm chart where UnderStack creates all the prerequisites
4+
for deploying OpenStack Helm. In some cases service/component level
5+
objects (like Keystone Users) are defined here to avoid duplication.

components/openstack/kustomization.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)