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 <hesamadibi80@gmail.com>
  • Loading branch information
Adibov committed Nov 21, 2023
1 parent a168944 commit afea2a5
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
@@ -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` |
2 changes: 1 addition & 1 deletion templates/nginx/service.yaml
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit afea2a5

Please sign in to comment.