mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
[organizr] use common chart (#129)
This commit is contained in:
parent
ec0aa4fd8c
commit
899a444153
23
charts/organizr/.helmignore
Normal file
23
charts/organizr/.helmignore
Normal file
@ -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
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
@ -1,9 +1,8 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: organizr
|
|
||||||
description: HTPC/Homelab Services Organizer - Written in PHP
|
|
||||||
type: application
|
|
||||||
version: 1.0.2
|
|
||||||
appVersion: latest
|
appVersion: latest
|
||||||
|
description: HTPC/Homelab Services Organizer
|
||||||
|
name: organizr
|
||||||
|
version: 2.0.0
|
||||||
keywords:
|
keywords:
|
||||||
- organizr
|
- organizr
|
||||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/organizr
|
home: https://github.com/k8s-at-home/charts/tree/master/charts/organizr
|
||||||
@ -12,20 +11,9 @@ sources:
|
|||||||
- https://github.com/causefx/Organizr
|
- https://github.com/causefx/Organizr
|
||||||
- https://hub.docker.com/r/organizr/organizr
|
- https://hub.docker.com/r/organizr/organizr
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: DirtyCajunRice
|
- name: billimek
|
||||||
email: nick@cajun.pro
|
email: jeff@billimek.com
|
||||||
url: https://github.com/dirtycajunrice
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: media-common
|
- name: common
|
||||||
repository: https://k8s-at-home.com/charts/
|
repository: https://k8s-at-home.com/charts/
|
||||||
version: ^1.0.0
|
version: ^1.0.4
|
||||||
alias: organizr
|
|
||||||
annotations:
|
|
||||||
artifacthub.io/links: |
|
|
||||||
- name: App Source
|
|
||||||
url: https://github.com/causefx/Organizr
|
|
||||||
- name: Default Docker Image
|
|
||||||
url: https://hub.docker.com/r/organizr/organizr
|
|
||||||
artifacthub.io/maintainers: |
|
|
||||||
- name: Nicholas St. Germain
|
|
||||||
email: nick@cajun.pro
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
approvers:
|
approvers:
|
||||||
- DirtyCajunRice
|
- billimek
|
||||||
reviewers:
|
reviewers:
|
||||||
- DirtyCajunRice
|
- billimek
|
||||||
|
@ -1,47 +1,50 @@
|
|||||||
# Organizr | HTPC/Homelab Services Organizer - Written in PHP
|
# Organizr
|
||||||
Umbrella chart that
|
|
||||||
* Uses [media-common](https://github.com/k8s-at-home/charts/tree/master/charts/media-common) as a base
|
|
||||||
* Adds docker image information leveraging the [official image](https://hub.docker.com/r/organizr/organizr/)
|
|
||||||
* Deploys [Organizr](https://github.com/causefx/Organizr)
|
|
||||||
|
|
||||||
## TL;DR
|
This is a helm chart for [Organizr](https://github.com/causefx/Organizr).
|
||||||
```console
|
|
||||||
|
## TL;DR;
|
||||||
|
|
||||||
|
```shell
|
||||||
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||||
$ helm install k8s-at-home/organizr
|
$ helm install k8s-at-home/organizr
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installing the Chart
|
## Installing the Chart
|
||||||
To install the chart with the release name `organizr`:
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm install organizr k8s-at-home/organizr
|
helm install --name my-release k8s-at-home/organizr
|
||||||
```
|
```
|
||||||
|
|
||||||
## Uninstalling the Chart
|
## Uninstalling the Chart
|
||||||
To uninstall the `organizr` deployment:
|
|
||||||
|
To uninstall/delete the `my-release` deployment:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
helm uninstall organizr
|
helm delete my-release --purge
|
||||||
```
|
```
|
||||||
|
|
||||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
Read through the media-common [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/media-common/values.yaml)
|
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/organizr/values.yaml)
|
||||||
file. It has several commented out suggested values.
|
file. It has several commented out suggested values.
|
||||||
|
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
|
||||||
|
|
||||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||||
```console
|
```console
|
||||||
helm install organizr \
|
helm install organizr \
|
||||||
--set organizr.env.TZ="America/New York" \
|
--set env.TZ="America/New York" \
|
||||||
k8s-at-home/organizr
|
k8s-at-home/organizr
|
||||||
```
|
```
|
||||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
|
||||||
For example,
|
chart. For example,
|
||||||
```console
|
```console
|
||||||
helm install organizr k8s-at-home/organizr --values values.yaml
|
helm install organizr k8s-at-home/organizr --values values.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
These values will be nested as it is a dependency, for example
|
|
||||||
```yaml
|
```yaml
|
||||||
organizr:
|
|
||||||
image:
|
image:
|
||||||
tag: ...
|
tag: ...
|
||||||
```
|
```
|
||||||
@ -56,3 +59,18 @@ Error: rendered manifests contain a resource that already exists. Unable to cont
|
|||||||
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
|
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Upgrading an existing Release to a new major version
|
||||||
|
|
||||||
|
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.
|
||||||
|
|
||||||
|
### Upgrading from 1.x.x to 2.x.x
|
||||||
|
|
||||||
|
Due to migrating to a centralized common library some values in `values.yaml` have changed.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
* `service.port` has been moved to `service.port.port`.
|
||||||
|
* `persistence.type` has been moved to `controllerType`.
|
||||||
|
|
||||||
|
Refer to the library values.yaml for more configuration options.
|
||||||
|
2
charts/organizr/ci/ct-values.yaml
Normal file
2
charts/organizr/ci/ct-values.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ingress:
|
||||||
|
enabled: true
|
1
charts/organizr/templates/NOTES.txt
Normal file
1
charts/organizr/templates/NOTES.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
{{- include "common.notes.defaultNotes" . -}}
|
1
charts/organizr/templates/common.yaml
Normal file
1
charts/organizr/templates/common.yaml
Normal file
@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
@ -1,10 +1,20 @@
|
|||||||
# Default values for organizr.
|
# Default values for Organizr.
|
||||||
|
|
||||||
organizr:
|
|
||||||
image:
|
image:
|
||||||
organization: organizr
|
repository: organizr/organizr
|
||||||
repository: organizr
|
pullPolicy: Always
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
port:
|
||||||
port: 80
|
port: 80
|
||||||
|
|
||||||
|
env: {}
|
||||||
|
# TZ: UTC
|
||||||
|
# PUID: 1001
|
||||||
|
# PGID: 1001
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
emptyDir: true
|
||||||
|
Loading…
Reference in New Issue
Block a user