Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
correction of detection
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Mar 12, 2021
1 parent 756a96f commit 33533c7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/jupyter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.6
version: 0.3.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/jupyter/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ nginx.ingress.kubernetes.io/whitelist-source-range: {{ .Values.security.whitelis
{{ printf "<configuration>"}}
{{- $virgule := 0 }}
{{ range $index, $service := (lookup "v1" "Service" .Release.Namespace "").items }}
{{- if (index $service "metadata" "labels" "helm.sh/chart") }}
{{- if hasPrefix "hive-metastore" (index $service "metadata" "labels" "helm.sh/chart") }}
{{- if $virgule }}
{{- end }}
Expand All @@ -129,6 +130,7 @@ nginx.ingress.kubernetes.io/whitelist-source-range: {{ .Values.security.whitelis
{{- $virgule = 1}}
{{- end }}
{{- end }}
{{- end }}
{{ printf "</configuration>"}}
{{- end }}

Expand Down
2 changes: 1 addition & 1 deletion charts/pgadmin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.4
version: 0.2.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 2 additions & 1 deletion charts/pgadmin/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ nginx.ingress.kubernetes.io/whitelist-source-range: {{ .Values.security.whitelis
{{ printf "\"Servers\": {" | indent 2 }}
{{- $virgule := 0 }}
{{ range $index, $service := (lookup "v1" "Service" .Release.Namespace "").items }}
{{- if (index $service "metadata" "labels" "helm.sh/chart") }}
{{- if hasPrefix "postgres" (index $service "metadata" "labels" "helm.sh/chart") }}
{{- if $virgule }}
{{ printf "," }}
Expand All @@ -94,7 +95,7 @@ nginx.ingress.kubernetes.io/whitelist-source-range: {{ .Values.security.whitelis
{{- $virgule = 1}}
{{ printf "}" | indent 4}}
{{- end }}

{{- end }}
{{- end }}
{{ printf "}" | indent 2}}
{{ printf "}" }}
Expand Down

0 comments on commit 33533c7

Please sign in to comment.