fix(blocky/grafana): minor fixes (#7752)
* fix(blocky): fix k8s-gateway not deploying when enabled * also fix grafana * more grafana fixes * caps * try something else * stupid selector mistake
This commit is contained in:
@@ -26,7 +26,7 @@ sources:
|
|||||||
- https://0xerr0r.github.io/blocky/
|
- https://0xerr0r.github.io/blocky/
|
||||||
- https://github.com/0xERR0R/blocky
|
- https://github.com/0xERR0R/blocky
|
||||||
- https://github.com/Mozart409/blocky-frontend
|
- https://github.com/Mozart409/blocky-frontend
|
||||||
version: 5.0.5
|
version: 5.0.6
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- network
|
- network
|
||||||
|
|||||||
@@ -1,26 +1,22 @@
|
|||||||
{{- define "k8sgateway.container" -}}
|
{{- define "k8sgateway.container" -}}
|
||||||
image: {{ .Values.k8sgatewayImage.repository }}:{{ .Values.k8sgatewayImage.tag }}
|
enabled: true
|
||||||
imagePullPolicy: {{ .Values.k8sgatewayImage.pullPolicy }}
|
imageSelector: k8sgatewayImage
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
runAsNonRoot: false
|
|
||||||
args: ["-conf", "/etc/coredns/Corefile"]
|
args: ["-conf", "/etc/coredns/Corefile"]
|
||||||
volumeMounts:
|
probes:
|
||||||
- name: config-volume
|
|
||||||
mountPath: /etc/coredns
|
|
||||||
probe:
|
|
||||||
readiness:
|
readiness:
|
||||||
httpGet:
|
enabled: true
|
||||||
path: /ready
|
path: /ready
|
||||||
port: 8181
|
port: 8181
|
||||||
liveness:
|
liveness:
|
||||||
httpGet:
|
enabled: true
|
||||||
path: /health
|
path: /health
|
||||||
port: 8080
|
port: 8080
|
||||||
startup:
|
startup:
|
||||||
httpGet:
|
enabled: true
|
||||||
path: /ready
|
path: /ready
|
||||||
port: 8181
|
port: 8181
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -27,12 +27,16 @@ subPath: config.yml
|
|||||||
{{- define "k8sgateway.configvolume" -}}
|
{{- define "k8sgateway.configvolume" -}}
|
||||||
enabled: true
|
enabled: true
|
||||||
type: configmap
|
type: configmap
|
||||||
mountPath: "/etc/coredns"
|
|
||||||
objectName: corefile
|
objectName: corefile
|
||||||
readOnly: true
|
|
||||||
items:
|
items:
|
||||||
- key: Corefile
|
- key: Corefile
|
||||||
path: Corefile
|
path: Corefile
|
||||||
|
targetSelector:
|
||||||
|
main:
|
||||||
|
k8sgateway:
|
||||||
|
mountPath: "/etc/coredns"
|
||||||
|
readOnly: true
|
||||||
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- $_ := set .Values.persistence "tc-config" (include "blocky.configmap.mount" . | fromYaml) -}}
|
{{- $_ := set .Values.persistence "tc-config" (include "blocky.configmap.mount" . | fromYaml) -}}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ sources:
|
|||||||
- https://github.com/bitnami/bitnami-docker-grafana
|
- https://github.com/bitnami/bitnami-docker-grafana
|
||||||
- https://grafana.com/
|
- https://grafana.com/
|
||||||
type: application
|
type: application
|
||||||
version: 7.0.4
|
version: 7.0.5
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- metrics
|
- metrics
|
||||||
|
|||||||
@@ -10,12 +10,9 @@ questions:
|
|||||||
# Include{replicas1}
|
# Include{replicas1}
|
||||||
# Include{podSpec}
|
# Include{podSpec}
|
||||||
# Include{containerMain}
|
# Include{containerMain}
|
||||||
# Include{containerBasic}
|
- variable: env
|
||||||
# Include{containerAdvanced}
|
|
||||||
|
|
||||||
- variable: secretEnv
|
|
||||||
group: "App Configuration"
|
group: "App Configuration"
|
||||||
label: "Secret Image Environment"
|
label: "Image Environment"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -33,13 +30,6 @@ questions:
|
|||||||
required: true
|
required: true
|
||||||
private: true
|
private: true
|
||||||
default: "REPLACETHIS"
|
default: "REPLACETHIS"
|
||||||
- variable: env
|
|
||||||
group: "App Configuration"
|
|
||||||
label: "Image Environment"
|
|
||||||
schema:
|
|
||||||
additional_attrs: true
|
|
||||||
type: dict
|
|
||||||
attrs:
|
|
||||||
- variable: GF_INSTALL_PLUGINS
|
- variable: GF_INSTALL_PLUGINS
|
||||||
label: "Extra Plugins to Install"
|
label: "Extra Plugins to Install"
|
||||||
description: "comma seperated"
|
description: "comma seperated"
|
||||||
@@ -61,6 +51,10 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "/opt/bitnami/grafana/conf/ldap.toml"
|
default: "/opt/bitnami/grafana/conf/ldap.toml"
|
||||||
|
# Include{containerBasic}
|
||||||
|
# Include{containerAdvanced}
|
||||||
|
|
||||||
|
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
# Include{serviceRoot}
|
# Include{serviceRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
|
|||||||
Reference in New Issue
Block a user