Skip to content

Commit

Permalink
refactor: rename clusterIP to staticClusterIP
Browse files Browse the repository at this point in the history
Signed-off-by: Adibov <[email protected]>
  • Loading branch information
Adibov committed Nov 18, 2023
1 parent 4fbd450 commit f353526
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The following table lists the configurable parameters of the Harbor chart and th
| `expose.ingress.harbor.annotations` | The annotations specific to harbor ingress | {} |
| `expose.ingress.harbor.labels` | The labels specific to harbor ingress | {} |
| `expose.clusterIP.name` | The name of ClusterIP service | |
| `expose.clusterIP.clusterIP` | The ip address of the ClusterIP service (leave empty for acquiring dynamic ip) | `harbor` |
| `expose.clusterIP.staticClusterIP` | The ip address of the ClusterIP service (leave empty for acquiring dynamic ip) | `harbor` |
| `expose.clusterIP.annotations` | The annotations attached to the ClusterIP service | {} |
| `expose.clusterIP.ports.httpPort` | The service port Harbor listens on when serving HTTP | `80` |
| `expose.clusterIP.ports.httpsPort` | The service port Harbor listens on when serving HTTPS | `443` |
Expand Down
2 changes: 1 addition & 1 deletion templates/nginx/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
{{- end }}
spec:
type: ClusterIP
{{- if .Values.expose.clusterIP.clusterIP }}
{{- if .Values.expose.clusterIP.staticClusterIP }}
clusterIP: {{ .Values.expose.clusterIP.clusterIP }}
{{- end }}
ports:
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ expose:
# The name of ClusterIP service
name: harbor
# The ip address of the ClusterIP service (leave empty for acquiring dynamic ip)
clusterIP: ""
staticClusterIP: ""
# Annotations on the ClusterIP service
annotations: {}
ports:
Expand Down

0 comments on commit f353526

Please sign in to comment.