From f353526efed3ec305eb5b878d21423c335c9cae3 Mon Sep 17 00:00:00 2001 From: Adibov Date: Sat, 18 Nov 2023 14:08:33 +0330 Subject: [PATCH] refactor: rename clusterIP to staticClusterIP Signed-off-by: Adibov --- README.md | 2 +- templates/nginx/service.yaml | 2 +- values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a1b31ac96..2cef98aa1 100644 --- a/README.md +++ b/README.md @@ -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` | diff --git a/templates/nginx/service.yaml b/templates/nginx/service.yaml index dbfc4ab7b..a91822a17 100644 --- a/templates/nginx/service.yaml +++ b/templates/nginx/service.yaml @@ -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: diff --git a/values.yaml b/values.yaml index 217d5f591..fc2fd1cf9 100644 --- a/values.yaml +++ b/values.yaml @@ -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: