Skip to content

Commit

Permalink
Merge pull request #13 from startechnica/unifi
Browse files Browse the repository at this point in the history
Release [unifi] v0.1.2
  • Loading branch information
firmansyahn authored May 28, 2022
2 parents 0e98884 + 047758e commit 4b6810b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 29 deletions.
11 changes: 8 additions & 3 deletions charts/unifi/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
annotations:
category: NetworkManagement
artifacthub.io/links: |
- name: Chart Source
url: https://github.com/startechnica/apps/tree/main/charts/unifi
- name: Upstream Project
url: https://github.com/jacobalberty/unifi-docker
apiVersion: v2
appVersion: v6.5.55
appVersion: v7.1.65
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
Expand All @@ -16,7 +21,7 @@ dependencies:
condition: mongodb.enabled
repository: https://charts.bitnami.com/bitnami
version: 10.x.x
description: UniFi Network Application to manager UniFi devices
description: UniFi Network Application to manage UniFi devices
home: https://github.com/startechnica/apps/tree/main/charts/unifi
icon: https://prd-www-cdn.ubnt.com/static/favicon-152.png
keywords:
Expand All @@ -34,4 +39,4 @@ sources:
- https://help.ui.com/hc/en-us/categories/200320654-UniFi-Network
- https://unpoller.com/
- https://github.com/unifi-poller/unifi-poller
version: 0.1.0
version: 0.1.2
6 changes: 3 additions & 3 deletions charts/unifi/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ metadata:
namespace: {{ .Release.Namespace | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
annotations:
{{- if .Values.persistence.annotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.persistence.annotations "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.persistence.annotations "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
spec:
Expand Down
6 changes: 3 additions & 3 deletions charts/unifi/templates/secret-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
namespace: {{ $.Release.Namespace }}
labels: {{- include "common.labels.standard" $ | nindent 4 }}
{{- if $.Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonLabels "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if $.Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 4 }}
Expand All @@ -30,7 +30,7 @@ metadata:
namespace: {{ .Release.Namespace }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
Expand All @@ -56,7 +56,7 @@ metadata:
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: unifi
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
Expand Down
17 changes: 0 additions & 17 deletions charts/unifi/values-test.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions charts/unifi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ global:
## - myRegistryKeySecretName
##
imagePullSecrets: []
storageClass: "openebs-hostpath"
storageClass: ""

## @section Common parameters

Expand All @@ -41,7 +41,7 @@ clusterDomain: cluster.local
extraDeploy: []
## @param timezone String of timezone of the release
##
timezone: "Asia/Jakarta"
timezone: "UTC"

## @section Diagnostic Mode Parameters

Expand Down Expand Up @@ -74,7 +74,7 @@ diagnosticMode:
image:
registry: docker.io
repository: jacobalberty/unifi
tag: v7.0.23
tag: v7.1.65
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down

0 comments on commit 4b6810b

Please sign in to comment.