8 Commits

Author SHA1 Message Date
Devin Canterberry
b3677863c7 🏁 Increment chart version for v1.10.1 release 2021-02-14 19:58:55 -08:00
Devin Canterberry
89760bc72c Merge pull request #8 from nightscape/patch-1
Rename port to match Istio naming conventions
2021-02-14 13:40:49 -08:00
Martin Mauch
cbb527450d Port name is http or https plus port 2021-02-03 23:24:16 +01:00
Martin Mauch
829c10f509 Rename port to match Istio naming conventions
Istio requires the service port to be named like `<protocol>[-<suffix>]`.
If possible, it would be good to rename it here to match this requirement.
2021-01-27 00:24:19 +01:00
Devin Canterberry
38715871da Merge pull request #5 from Skaronator/main
Support for Session Affinity option in service template
2020-12-01 19:18:31 -08:00
Niklas Wagner
a830d2eb17 Support for Session Affinity option in service template 2020-12-01 15:47:20 +01:00
Devin Canterberry
5c19fdbee8 Merge pull request #3 from rkevin-arch/main
Fix typo in README
2020-11-29 00:16:32 -08:00
rkevin
c8718f203e Fix typo 2020-11-28 21:26:26 -08:00
4 changed files with 14 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Docker Registry
name: docker-registry
version: 1.9.7
version: 1.10.1
appVersion: 2.7.1
home: https://hub.docker.com/_/registry/
icon: https://hub.docker.com/public/images/logos/mini-logo.svg

View File

@@ -47,8 +47,10 @@ their default values.
| `service.type` | service type | `ClusterIP` |
| `service.clusterIP` | if `service.type` is `ClusterIP` and this is non-empty, sets the cluster IP of the service | `nil` |
| `service.nodePort` | if `service.type` is `NodePort` and this is non-empty, sets the node port of the service | `nil` |
| `service.loadBalancerIP | if `service.type` is `LoadBalancer` and this is non-empty, sets the loadBalancerIP of the service | `nil` |
| `service.loadBalancerIP` | if `service.type` is `LoadBalancer` and this is non-empty, sets the loadBalancerIP of the service | `nil` |
| `service.loadBalancerSourceRanges`| if `service.type` is `LoadBalancer` and this is non-empty, sets the loadBalancerSourceRanges of the service | `nil` |
| `service.sessionAffinity` | service session affinity | `nil` |
| `service.sessionAffinityConfig` | service session affinity config | `nil` |
| `replicaCount` | k8s replicas | `1` |
| `updateStrategy` | update strategy for deployment | `{}` |
| `podAnnotations` | Annotations for pod | `{}` |

View File

@@ -21,11 +21,18 @@ spec:
{{- end }}
{{- if (and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerSourceRanges))) }}
loadBalancerSourceRanges: {{ .Values.service.loadBalancerSourceRanges }}
{{- end }}
{{- if .Values.service.sessionAffinity }}
sessionAffinity: {{ .Values.service.sessionAffinity }}
{{- if .Values.service.sessionAffinityConfig }}
sessionAffinityConfig:
{{ toYaml .Values.service.sessionAffinityConfig | nindent 4 }}
{{- end -}}
{{- end }}
ports:
- port: {{ .Values.service.port }}
protocol: TCP
name: {{ .Values.service.name }}
name: {{ if .Values.tlsSecretName }}https{{ else }}http{{ end }}-{{ .Values.service.port }}
targetPort: 5000
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}

View File

@@ -21,6 +21,8 @@ image:
service:
name: registry
type: ClusterIP
# sessionAffinity: None
# sessionAffinityConfig: {}
# clusterIP:
port: 5000
# nodePort: