Skip to content

Commit

Permalink
linstor-affinity-controller: upstream release 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz "WanzenBug" Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Oct 2, 2023
1 parent 7a96fea commit ecc9ee8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/linstor-affinity-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ home: https://github.com/piraeusdatastore/helm-charts
sources:
- https://github.com/piraeusdatastore/linstor-affinity-controller

version: 1.2.1
appVersion: "v0.3.0"
version: 1.3.0
appVersion: "v1.0.0"
2 changes: 1 addition & 1 deletion charts/linstor-affinity-controller/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Find the linstor URL by operator resources
{{- if eq (len $crs) 1 }}
{{- $item := index $crs 0 }}
{{- range $index, $service := (lookup "v1" "Service" "" "").items }}
{{- if and (eq (get $service.metadata.labels "app.kubernetes.io/component") "linstor-controller") (eq (get $service.metadata.labels "app.kubernetes.io/instance") $item.metadata.name) }}
{{- if and (eq (dig "metadata" "labels" "app.kubernetes.io/component" "" $service) "linstor-controller") (eq (dig "metadata" "labels" "app.kubernetes.io/instance" "" $service) $item.metadata.name) }}
{{- if include "linstor-affinity-controller.linstorClientSecretName" $ }}
{{- printf "https://%s.%s.svc:3371" $service.metadata.name $service.metadata.namespace }}
{{- else }}
Expand Down

0 comments on commit ecc9ee8

Please sign in to comment.