From 5ff5488309851d8ca414cd83957443a4565640e5 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:21:38 +0530 Subject: [PATCH 01/50] Create deployment.yaml --- my-helm-chart/templates/deployment.yaml | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 my-helm-chart/templates/deployment.yaml diff --git a/my-helm-chart/templates/deployment.yaml b/my-helm-chart/templates/deployment.yaml new file mode 100644 index 00000000000..26ee0b61976 --- /dev/null +++ b/my-helm-chart/templates/deployment.yaml @@ -0,0 +1,27 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ .Values.service.name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .Values.service.name }} + template: + metadata: + labels: + app: {{ .Values.service.name }} + spec: + containers: + - name: {{ .Values.service.name }} + image: "nginx:latest" # Replace with your actual image + ports: + - containerPort: 8080 + volumeMounts: + - name: config-volume + mountPath: /etc/config + readOnly: true + volumes: + - name: config-volume + configMap: + name: rac-config-files From 2c5a9584fbeb5f9d5bc955e185129e0fd1613265 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:22:04 +0530 Subject: [PATCH 02/50] Create service.yaml --- my-helm-chart/templates/service.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 my-helm-chart/templates/service.yaml diff --git a/my-helm-chart/templates/service.yaml b/my-helm-chart/templates/service.yaml new file mode 100644 index 00000000000..cf7d5c58e6a --- /dev/null +++ b/my-helm-chart/templates/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.service.name }} +spec: + selector: + app: {{ .Values.service.name }} + ports: + - protocol: TCP + port: {{ .Values.service.port }} + targetPort: 8080 + type: {{ .Values.service.type }} From 20e77008c4d01974ee29392fbee2bbdb435def9d Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:22:27 +0530 Subject: [PATCH 03/50] Create configmap.yaml --- my-helm-chart/templates/configmap.yaml | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 my-helm-chart/templates/configmap.yaml diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml new file mode 100644 index 00000000000..8cc9a8193e2 --- /dev/null +++ b/my-helm-chart/templates/configmap.yaml @@ -0,0 +1,32 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: rac-config-files +data: + config.json: | + { + "authConfig": { + "tenant": "{{ .Values.configMap.authConfig.tenant }}", + "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", + "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", + "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, + "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, + "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, + "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, + "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, + "auth": { + "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", + "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", + "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", + "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", + "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", + "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", + "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, + "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", + "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, + "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", + "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, + "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" + } + } + } From 658f2dfef2fc99a4c4f3055330eceb2cd2f5bf1f Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:22:58 +0530 Subject: [PATCH 04/50] Create Chart.yaml --- my-helm-chart/Chart.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 my-helm-chart/Chart.yaml diff --git a/my-helm-chart/Chart.yaml b/my-helm-chart/Chart.yaml new file mode 100644 index 00000000000..ea550cd3080 --- /dev/null +++ b/my-helm-chart/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v2 +name: my-helm-chart +description: A Helm chart for managing RAC service with configMap +version: 1.0.0 +appVersion: "1.0" From 2c3b07d84b591fbaab33170ceed9ce689055d606 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:23:28 +0530 Subject: [PATCH 05/50] Create values.yaml --- my-helm-chart/values.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 my-helm-chart/values.yaml diff --git a/my-helm-chart/values.yaml b/my-helm-chart/values.yaml new file mode 100644 index 00000000000..b48c19ccddb --- /dev/null +++ b/my-helm-chart/values.yaml @@ -0,0 +1,28 @@ +service: + name: rac-service + type: ClusterIP + port: 80 + +configMap: + authConfig: + tenant: "OIDP" + loginApiUrl: "ksdn" + restApiUrl: "asdjn" + ssoFlag: true + userIdleTime: 900 + userIdleTimeOut: 300 + tokenExpFirstWarningMinutes: 15 + tokenExpSecondWarningMinutes: 5 + auth: + issuer: "asdj" + clientId: "ADMINCONSOLE_NEXTGEN_DEV" + redirectUri: "asd" + dummyClientSecret: "d0744e740ec90042800bbca0d76d0eca87fa" + logoutUrl: "asdb" + idpLogoutUrl: "asdjb" + requireHttps: false + idpApiKey: "FIS" + interceptUrls: ["origin"] + responseType: "code" + autoRefresh: true + listenToToken: "access_token" From d365cd8b20c330a67926d75cdc59542d6c62630b Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:24:17 +0530 Subject: [PATCH 06/50] Create override-values.yaml --- my-helm-chart/overrides/override-values.yaml | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 my-helm-chart/overrides/override-values.yaml diff --git a/my-helm-chart/overrides/override-values.yaml b/my-helm-chart/overrides/override-values.yaml new file mode 100644 index 00000000000..391493a9e13 --- /dev/null +++ b/my-helm-chart/overrides/override-values.yaml @@ -0,0 +1,23 @@ +configMap: + authConfig: + tenant: "NewTenant" + loginApiUrl: "newLoginUrl" + restApiUrl: "newRestApiUrl" + ssoFlag: false + userIdleTime: 1000 + userIdleTimeOut: 400 + tokenExpFirstWarningMinutes: 30 + tokenExpSecondWarningMinutes: 10 + auth: + issuer: "newIssuer" + clientId: "NEW_CLIENT_ID" + redirectUri: "newRedirectUri" + dummyClientSecret: "newSecret" + logoutUrl: "newLogoutUrl" + idpLogoutUrl: "newIdpLogoutUrl" + requireHttps: true + idpApiKey: "NEW_API_KEY" + interceptUrls: ["newOrigin"] + responseType: "token" + autoRefresh: false + listenToToken: "id_token" From 2d725beb5a31debccad702b2b6be885a7fd116a1 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:28:31 +0530 Subject: [PATCH 07/50] Rename override-values.yaml to override-values.json --- .../overrides/{override-values.yaml => override-values.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename my-helm-chart/overrides/{override-values.yaml => override-values.json} (100%) diff --git a/my-helm-chart/overrides/override-values.yaml b/my-helm-chart/overrides/override-values.json similarity index 100% rename from my-helm-chart/overrides/override-values.yaml rename to my-helm-chart/overrides/override-values.json From eb9bcf6ed4a60e6902e9ba47a0663cf673dc4200 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:29:14 +0530 Subject: [PATCH 08/50] Update override-values.json --- my-helm-chart/overrides/override-values.json | 51 +++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/my-helm-chart/overrides/override-values.json b/my-helm-chart/overrides/override-values.json index 391493a9e13..0491f5ff29d 100644 --- a/my-helm-chart/overrides/override-values.json +++ b/my-helm-chart/overrides/override-values.json @@ -1,23 +1,28 @@ -configMap: - authConfig: - tenant: "NewTenant" - loginApiUrl: "newLoginUrl" - restApiUrl: "newRestApiUrl" - ssoFlag: false - userIdleTime: 1000 - userIdleTimeOut: 400 - tokenExpFirstWarningMinutes: 30 - tokenExpSecondWarningMinutes: 10 - auth: - issuer: "newIssuer" - clientId: "NEW_CLIENT_ID" - redirectUri: "newRedirectUri" - dummyClientSecret: "newSecret" - logoutUrl: "newLogoutUrl" - idpLogoutUrl: "newIdpLogoutUrl" - requireHttps: true - idpApiKey: "NEW_API_KEY" - interceptUrls: ["newOrigin"] - responseType: "token" - autoRefresh: false - listenToToken: "id_token" +{ + "configMap": { + "authConfig": { + "tenant": "NewTenant", + "loginApiUrl": "newLoginUrl", + "restApiUrl": "newRestApiUrl", + "ssoFlag": false, + "userIdleTime": 1000, + "userIdleTimeOut": 400, + "tokenExpFirstWarningMinutes": 30, + "tokenExpSecondWarningMinutes": 10, + "auth": { + "issuer": "newIssuer", + "clientId": "NEW_CLIENT_ID", + "redirectUri": "newRedirectUri", + "dummyClientSecret": "newSecret", + "logoutUrl": "newLogoutUrl", + "idpLogoutUrl": "newIdpLogoutUrl", + "requireHttps": true, + "idpApiKey": "NEW_API_KEY", + "interceptUrls": ["newOrigin"], + "responseType": "token", + "autoRefresh": false, + "listenToToken": "id_token" + } + } + } +} From 603e789c60742dcd22f6789b5ae5f7e7670574b8 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:38:41 +0530 Subject: [PATCH 09/50] Update and rename values.yaml to values.json --- my-helm-chart/values.json | 33 +++++++++++++++++++++++++++++++++ my-helm-chart/values.yaml | 28 ---------------------------- 2 files changed, 33 insertions(+), 28 deletions(-) create mode 100644 my-helm-chart/values.json delete mode 100644 my-helm-chart/values.yaml diff --git a/my-helm-chart/values.json b/my-helm-chart/values.json new file mode 100644 index 00000000000..875bcafb9b5 --- /dev/null +++ b/my-helm-chart/values.json @@ -0,0 +1,33 @@ +{ + "service": { + "name": "rac-service", + "type": "ClusterIP", + "port": 80 + }, + "configMap": { + "authConfig": { + "tenant": "OIDP", + "loginApiUrl": "ksdn", + "restApiUrl": "asdjn", + "ssoFlag": true, + "userIdleTime": 900, + "userIdleTimeOut": 300, + "tokenExpFirstWarningMinutes": 15, + "tokenExpSecondWarningMinutes": 5, + "auth": { + "issuer": "asdj", + "clientId": "ADMINCONSOLE_NEXTGEN_DEV", + "redirectUri": "asd", + "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", + "logoutUrl": "asdb", + "idpLogoutUrl": "asdjb", + "requireHttps": false, + "idpApiKey": "FIS", + "interceptUrls": ["origin"], + "responseType": "code", + "autoRefresh": true, + "listenToToken": "access_token" + } + } + } +} diff --git a/my-helm-chart/values.yaml b/my-helm-chart/values.yaml deleted file mode 100644 index b48c19ccddb..00000000000 --- a/my-helm-chart/values.yaml +++ /dev/null @@ -1,28 +0,0 @@ -service: - name: rac-service - type: ClusterIP - port: 80 - -configMap: - authConfig: - tenant: "OIDP" - loginApiUrl: "ksdn" - restApiUrl: "asdjn" - ssoFlag: true - userIdleTime: 900 - userIdleTimeOut: 300 - tokenExpFirstWarningMinutes: 15 - tokenExpSecondWarningMinutes: 5 - auth: - issuer: "asdj" - clientId: "ADMINCONSOLE_NEXTGEN_DEV" - redirectUri: "asd" - dummyClientSecret: "d0744e740ec90042800bbca0d76d0eca87fa" - logoutUrl: "asdb" - idpLogoutUrl: "asdjb" - requireHttps: false - idpApiKey: "FIS" - interceptUrls: ["origin"] - responseType: "code" - autoRefresh: true - listenToToken: "access_token" From 42eda1b27098562655b0e2f9be1a0684c433e501 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 20:59:11 +0530 Subject: [PATCH 10/50] Create config.json --- my-helm-chart/files/config.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 my-helm-chart/files/config.json diff --git a/my-helm-chart/files/config.json b/my-helm-chart/files/config.json new file mode 100644 index 00000000000..5c56d8c4309 --- /dev/null +++ b/my-helm-chart/files/config.json @@ -0,0 +1,26 @@ +{ + "authConfig": { + "tenant": "{{ .Values.configMap.authConfig.tenant }}", + "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", + "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", + "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, + "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, + "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, + "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, + "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, + "auth": { + "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", + "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", + "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", + "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", + "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", + "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", + "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, + "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", + "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, + "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", + "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, + "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" + } + } +} From 55605378e12895477683ae9f93f7ab933edae932 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 21:00:02 +0530 Subject: [PATCH 11/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 27 +------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 8cc9a8193e2..a2c0ae05665 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,29 +4,4 @@ metadata: name: rac-config-files data: config.json: | - { - "authConfig": { - "tenant": "{{ .Values.configMap.authConfig.tenant }}", - "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", - "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", - "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, - "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, - "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, - "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, - "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, - "auth": { - "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", - "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", - "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", - "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", - "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", - "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", - "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, - "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", - "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, - "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", - "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, - "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" - } - } - } + {{ .Files.Get "files/config.json" | indent 4 }} From e75da6a6e535fef5da5b50bfe98d3739ae0ed90c Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 21:03:39 +0530 Subject: [PATCH 12/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index a2c0ae05665..1d8deab0af4 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,4 +4,4 @@ metadata: name: rac-config-files data: config.json: | - {{ .Files.Get "files/config.json" | indent 4 }} + {{ .Files.Get "my-helm-chart/files/config.json" | indent 4 }} From 61566400b8317a1f5747eba062140f4b3d357732 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 21:09:50 +0530 Subject: [PATCH 13/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 1d8deab0af4..a2c0ae05665 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,4 +4,4 @@ metadata: name: rac-config-files data: config.json: | - {{ .Files.Get "my-helm-chart/files/config.json" | indent 4 }} + {{ .Files.Get "files/config.json" | indent 4 }} From 6f7a1f9126c562d35e61b942cfdd8bd29c07d13a Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 21:31:28 +0530 Subject: [PATCH 14/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index a2c0ae05665..7a0d712716d 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,4 +4,4 @@ metadata: name: rac-config-files data: config.json: | - {{ .Files.Get "files/config.json" | indent 4 }} + {{ .Files.Get "config.json" | indent 4 }} From db9525eb3b8c0f102a8107c74f8609994e9c9a90 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 21:32:31 +0530 Subject: [PATCH 15/50] Create config.json --- my-helm-chart/templates/config.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 my-helm-chart/templates/config.json diff --git a/my-helm-chart/templates/config.json b/my-helm-chart/templates/config.json new file mode 100644 index 00000000000..5c56d8c4309 --- /dev/null +++ b/my-helm-chart/templates/config.json @@ -0,0 +1,26 @@ +{ + "authConfig": { + "tenant": "{{ .Values.configMap.authConfig.tenant }}", + "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", + "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", + "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, + "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, + "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, + "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, + "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, + "auth": { + "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", + "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", + "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", + "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", + "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", + "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", + "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, + "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", + "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, + "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", + "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, + "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" + } + } +} From 1b51f121d8d57db16b809909b94aac46614f6047 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 21:36:21 +0530 Subject: [PATCH 16/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 7a0d712716d..8c95e23eff0 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,4 +4,4 @@ metadata: name: rac-config-files data: config.json: | - {{ .Files.Get "config.json" | indent 4 }} + {{ .Files.Get ".config.json" | indent 4 }} From dfb8fa70833453c02ef078b05dcbfb31c35c2d33 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 9 May 2025 21:36:37 +0530 Subject: [PATCH 17/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 8c95e23eff0..8e7d05d49a7 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,4 +4,4 @@ metadata: name: rac-config-files data: config.json: | - {{ .Files.Get ".config.json" | indent 4 }} + {{ .Files.Get "./config.json" | indent 4 }} From 75dc517a700becde74d2660833e803d967b6d0e9 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Wed, 14 May 2025 15:00:56 +0530 Subject: [PATCH 18/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 29 +++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 8e7d05d49a7..5b49c248b7b 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,4 +4,31 @@ metadata: name: rac-config-files data: config.json: | - {{ .Files.Get "./config.json" | indent 4 }} + { + "configMap": { + "authConfig": { + "tenant": "NewTenant", + "loginApiUrl": "newLoginUrl", + "restApiUrl": "newRestApiUrl", + "ssoFlag": false, + "userIdleTime": 1000, + "userIdleTimeOut": 300, + "tokenExpFirstWarningMinutes": 30, + "tokenExpSecondWarningMinutes": 10, + "auth": { + "issuer": "newIssuer", + "clientId": "NEW_CLIENT_ID", + "redirectUri": "newRedirectUri", + "dummyClientSecret": "newSecret", + "logoutUrl": "newLogoutUrl", + "idpLogoutUrl": "newIdpLogoutUrl", + "requireHttps": true, + "idpApiKey": "NEW_API_KEY", + "interceptUrls": ["newOrigin"], + "responseType": "token", + "autoRefresh": false, + "listenToToken": "id_token" + } + } + } +} From 640efca99bdce882d11338169ff8236bbaabf2a2 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Mon, 19 May 2025 19:19:13 +0530 Subject: [PATCH 19/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 55 +++++++++++++------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 5b49c248b7b..3b53d84b611 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -1,34 +1,33 @@ +{{- $config := dict "configMap" (dict "authConfig" (dict + "tenant" "NewTenant" + "loginApiUrl" "newLoginUrl" + "restApiUrl" "newRestApiUrl" + "ssoFlag" false + "userIdleTime" 1000 + "userIdleTimeOut" 300 + "tokenExpFirstWarningMinutes" 30 + "tokenExpSecondWarningMinutes" 10 + "auth" (dict + "issuer" "newIssuer" + "clientId" "NEW_CLIENT_ID" + "redirectUri" "newRedirectUri" + "dummyClientSecret" "newSecret" + "logoutUrl" "newLogoutUrl" + "idpLogoutUrl" "newIdpLogoutUrl" + "requireHttps" true + "idpApiKey" "NEW_API_KEY" + "interceptUrls" (list "newOrigin") + "responseType" "token" + "autoRefresh" false + "listenToToken" "id_token" + ) +)) }} + + apiVersion: v1 kind: ConfigMap metadata: name: rac-config-files data: config.json: | - { - "configMap": { - "authConfig": { - "tenant": "NewTenant", - "loginApiUrl": "newLoginUrl", - "restApiUrl": "newRestApiUrl", - "ssoFlag": false, - "userIdleTime": 1000, - "userIdleTimeOut": 300, - "tokenExpFirstWarningMinutes": 30, - "tokenExpSecondWarningMinutes": 10, - "auth": { - "issuer": "newIssuer", - "clientId": "NEW_CLIENT_ID", - "redirectUri": "newRedirectUri", - "dummyClientSecret": "newSecret", - "logoutUrl": "newLogoutUrl", - "idpLogoutUrl": "newIdpLogoutUrl", - "requireHttps": true, - "idpApiKey": "NEW_API_KEY", - "interceptUrls": ["newOrigin"], - "responseType": "token", - "autoRefresh": false, - "listenToToken": "id_token" - } - } - } -} + {{ $config | toJson }} From 2ae4739f0a5fe3262e85c5aff0dacfb6ca790f38 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Mon, 19 May 2025 19:19:51 +0530 Subject: [PATCH 20/50] Update values.json --- my-helm-chart/values.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/values.json b/my-helm-chart/values.json index 875bcafb9b5..45612fe2712 100644 --- a/my-helm-chart/values.json +++ b/my-helm-chart/values.json @@ -11,7 +11,7 @@ "restApiUrl": "asdjn", "ssoFlag": true, "userIdleTime": 900, - "userIdleTimeOut": 300, + "userIdleTimeOut": 900, "tokenExpFirstWarningMinutes": 15, "tokenExpSecondWarningMinutes": 5, "auth": { From 8afee643888affaa4c344d97cda1d7d98f0377ed Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:38:22 +0530 Subject: [PATCH 21/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 53 +++++++++++++------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 3b53d84b611..2eea43a3f21 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -1,33 +1,32 @@ -{{- $config := dict "configMap" (dict "authConfig" (dict - "tenant" "NewTenant" - "loginApiUrl" "newLoginUrl" - "restApiUrl" "newRestApiUrl" - "ssoFlag" false - "userIdleTime" 1000 - "userIdleTimeOut" 300 - "tokenExpFirstWarningMinutes" 30 - "tokenExpSecondWarningMinutes" 10 - "auth" (dict - "issuer" "newIssuer" - "clientId" "NEW_CLIENT_ID" - "redirectUri" "newRedirectUri" - "dummyClientSecret" "newSecret" - "logoutUrl" "newLogoutUrl" - "idpLogoutUrl" "newIdpLogoutUrl" - "requireHttps" true - "idpApiKey" "NEW_API_KEY" - "interceptUrls" (list "newOrigin") - "responseType" "token" - "autoRefresh" false - "listenToToken" "id_token" - ) -)) }} - - apiVersion: v1 kind: ConfigMap metadata: name: rac-config-files data: config.json: | - {{ $config | toJson }} + { + "authConfig": { + "tenant": "{{ .Values.configMap.authConfig.tenant }}", + "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", + "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", + "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, + "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, + "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, + "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, + "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, + "auth": { + "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", + "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", + "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", + "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", + "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", + "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", + "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, + "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", + "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, + "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", + "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, + "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" + } + } +} From 1775a870197e44705b8bb2a420891d29c11d9789 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:40:42 +0530 Subject: [PATCH 22/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 44 +++++++++++++------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 2eea43a3f21..48af5b012ca 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -5,28 +5,28 @@ metadata: data: config.json: | { - "authConfig": { - "tenant": "{{ .Values.configMap.authConfig.tenant }}", - "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", - "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", - "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, - "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, - "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, - "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, - "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, - "auth": { - "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", - "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", - "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", - "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", - "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", - "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", - "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, - "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", - "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, - "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", - "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, - "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" + "authConfig": { + "tenant": "OIDP", + "loginApiUrl": "ksdn", + "restApiUrl": "asdjn", + "ssoFlag": true, + "userIdleTime": 900, + "userIdleTimeOut": 900, + "tokenExpFirstWarningMinutes": 15, + "tokenExpSecondWarningMinutes": 5, + "auth": { + "issuer": "asdj", + "clientId": "ADMINCONSOLE_NEXTGEN_DEV", + "redirectUri": "asd", + "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", + "logoutUrl": "asdb", + "idpLogoutUrl": "asdjb", + "requireHttps": false, + "idpApiKey": "FIS", + "interceptUrls": ["origin"], + "responseType": "code", + "autoRefresh": true, + "listenToToken": "access_token" } } } From 2f6b73c432e7c87435bb8e717d5777a44d7683eb Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:43:29 +0530 Subject: [PATCH 23/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 50 +++++++++++++------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 48af5b012ca..3670b97ce2c 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -4,29 +4,29 @@ metadata: name: rac-config-files data: config.json: | - { - "authConfig": { - "tenant": "OIDP", - "loginApiUrl": "ksdn", - "restApiUrl": "asdjn", - "ssoFlag": true, - "userIdleTime": 900, - "userIdleTimeOut": 900, - "tokenExpFirstWarningMinutes": 15, - "tokenExpSecondWarningMinutes": 5, - "auth": { - "issuer": "asdj", - "clientId": "ADMINCONSOLE_NEXTGEN_DEV", - "redirectUri": "asd", - "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", - "logoutUrl": "asdb", - "idpLogoutUrl": "asdjb", - "requireHttps": false, - "idpApiKey": "FIS", - "interceptUrls": ["origin"], - "responseType": "code", - "autoRefresh": true, - "listenToToken": "access_token" + { + "authConfig": { + "tenant": "OIDP", + "loginApiUrl": "ksdn", + "restApiUrl": "asdjn", + "ssoFlag": true, + "userIdleTime": 900, + "userIdleTimeOut": 900, + "tokenExpFirstWarningMinutes": 15, + "tokenExpSecondWarningMinutes": 5, + "auth": { + "issuer": "asdj", + "clientId": "ADMINCONSOLE_NEXTGEN_DEV", + "redirectUri": "asd", + "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", + "logoutUrl": "asdb", + "idpLogoutUrl": "asdjb", + "requireHttps": false, + "idpApiKey": "FIS", + "interceptUrls": ["origin"], + "responseType": "code", + "autoRefresh": true, + "listenToToken": "access_token" + } + } } - } -} From 2056381d61e10710394e16dc1f8e15a11617f50b Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:47:34 +0530 Subject: [PATCH 24/50] Delete my-helm-chart directory --- my-helm-chart/Chart.yaml | 5 --- my-helm-chart/files/config.json | 26 --------------- my-helm-chart/overrides/override-values.json | 28 ----------------- my-helm-chart/templates/config.json | 26 --------------- my-helm-chart/templates/configmap.yaml | 32 ------------------- my-helm-chart/templates/deployment.yaml | 27 ---------------- my-helm-chart/templates/service.yaml | 12 ------- my-helm-chart/values.json | 33 -------------------- 8 files changed, 189 deletions(-) delete mode 100644 my-helm-chart/Chart.yaml delete mode 100644 my-helm-chart/files/config.json delete mode 100644 my-helm-chart/overrides/override-values.json delete mode 100644 my-helm-chart/templates/config.json delete mode 100644 my-helm-chart/templates/configmap.yaml delete mode 100644 my-helm-chart/templates/deployment.yaml delete mode 100644 my-helm-chart/templates/service.yaml delete mode 100644 my-helm-chart/values.json diff --git a/my-helm-chart/Chart.yaml b/my-helm-chart/Chart.yaml deleted file mode 100644 index ea550cd3080..00000000000 --- a/my-helm-chart/Chart.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v2 -name: my-helm-chart -description: A Helm chart for managing RAC service with configMap -version: 1.0.0 -appVersion: "1.0" diff --git a/my-helm-chart/files/config.json b/my-helm-chart/files/config.json deleted file mode 100644 index 5c56d8c4309..00000000000 --- a/my-helm-chart/files/config.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "authConfig": { - "tenant": "{{ .Values.configMap.authConfig.tenant }}", - "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", - "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", - "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, - "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, - "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, - "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, - "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, - "auth": { - "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", - "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", - "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", - "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", - "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", - "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", - "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, - "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", - "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, - "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", - "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, - "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" - } - } -} diff --git a/my-helm-chart/overrides/override-values.json b/my-helm-chart/overrides/override-values.json deleted file mode 100644 index 0491f5ff29d..00000000000 --- a/my-helm-chart/overrides/override-values.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "configMap": { - "authConfig": { - "tenant": "NewTenant", - "loginApiUrl": "newLoginUrl", - "restApiUrl": "newRestApiUrl", - "ssoFlag": false, - "userIdleTime": 1000, - "userIdleTimeOut": 400, - "tokenExpFirstWarningMinutes": 30, - "tokenExpSecondWarningMinutes": 10, - "auth": { - "issuer": "newIssuer", - "clientId": "NEW_CLIENT_ID", - "redirectUri": "newRedirectUri", - "dummyClientSecret": "newSecret", - "logoutUrl": "newLogoutUrl", - "idpLogoutUrl": "newIdpLogoutUrl", - "requireHttps": true, - "idpApiKey": "NEW_API_KEY", - "interceptUrls": ["newOrigin"], - "responseType": "token", - "autoRefresh": false, - "listenToToken": "id_token" - } - } - } -} diff --git a/my-helm-chart/templates/config.json b/my-helm-chart/templates/config.json deleted file mode 100644 index 5c56d8c4309..00000000000 --- a/my-helm-chart/templates/config.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "authConfig": { - "tenant": "{{ .Values.configMap.authConfig.tenant }}", - "loginApiUrl": "{{ .Values.configMap.authConfig.loginApiUrl }}", - "restApiUrl": "{{ .Values.configMap.authConfig.restApiUrl }}", - "ssoFlag": {{ .Values.configMap.authConfig.ssoFlag }}, - "userIdleTime": {{ .Values.configMap.authConfig.userIdleTime }}, - "userIdleTimeOut": {{ .Values.configMap.authConfig.userIdleTimeOut }}, - "tokenExpFirstWarningMinutes": {{ .Values.configMap.authConfig.tokenExpFirstWarningMinutes }}, - "tokenExpSecondWarningMinutes": {{ .Values.configMap.authConfig.tokenExpSecondWarningMinutes }}, - "auth": { - "issuer": "{{ .Values.configMap.authConfig.auth.issuer }}", - "clientId": "{{ .Values.configMap.authConfig.auth.clientId }}", - "redirectUri": "{{ .Values.configMap.authConfig.auth.redirectUri }}", - "dummyClientSecret": "{{ .Values.configMap.authConfig.auth.dummyClientSecret }}", - "logoutUrl": "{{ .Values.configMap.authConfig.auth.logoutUrl }}", - "idpLogoutUrl": "{{ .Values.configMap.authConfig.auth.idpLogoutUrl }}", - "requireHttps": {{ .Values.configMap.authConfig.auth.requireHttps }}, - "idpApiKey": "{{ .Values.configMap.authConfig.auth.idpApiKey }}", - "interceptUrls": {{ .Values.configMap.authConfig.auth.interceptUrls | toJson }}, - "responseType": "{{ .Values.configMap.authConfig.auth.responseType }}", - "autoRefresh": {{ .Values.configMap.authConfig.auth.autoRefresh }}, - "listenToToken": "{{ .Values.configMap.authConfig.auth.listenToToken }}" - } - } -} diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml deleted file mode 100644 index 3670b97ce2c..00000000000 --- a/my-helm-chart/templates/configmap.yaml +++ /dev/null @@ -1,32 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: rac-config-files -data: - config.json: | - { - "authConfig": { - "tenant": "OIDP", - "loginApiUrl": "ksdn", - "restApiUrl": "asdjn", - "ssoFlag": true, - "userIdleTime": 900, - "userIdleTimeOut": 900, - "tokenExpFirstWarningMinutes": 15, - "tokenExpSecondWarningMinutes": 5, - "auth": { - "issuer": "asdj", - "clientId": "ADMINCONSOLE_NEXTGEN_DEV", - "redirectUri": "asd", - "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", - "logoutUrl": "asdb", - "idpLogoutUrl": "asdjb", - "requireHttps": false, - "idpApiKey": "FIS", - "interceptUrls": ["origin"], - "responseType": "code", - "autoRefresh": true, - "listenToToken": "access_token" - } - } - } diff --git a/my-helm-chart/templates/deployment.yaml b/my-helm-chart/templates/deployment.yaml deleted file mode 100644 index 26ee0b61976..00000000000 --- a/my-helm-chart/templates/deployment.yaml +++ /dev/null @@ -1,27 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.service.name }} -spec: - replicas: 1 - selector: - matchLabels: - app: {{ .Values.service.name }} - template: - metadata: - labels: - app: {{ .Values.service.name }} - spec: - containers: - - name: {{ .Values.service.name }} - image: "nginx:latest" # Replace with your actual image - ports: - - containerPort: 8080 - volumeMounts: - - name: config-volume - mountPath: /etc/config - readOnly: true - volumes: - - name: config-volume - configMap: - name: rac-config-files diff --git a/my-helm-chart/templates/service.yaml b/my-helm-chart/templates/service.yaml deleted file mode 100644 index cf7d5c58e6a..00000000000 --- a/my-helm-chart/templates/service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.service.name }} -spec: - selector: - app: {{ .Values.service.name }} - ports: - - protocol: TCP - port: {{ .Values.service.port }} - targetPort: 8080 - type: {{ .Values.service.type }} diff --git a/my-helm-chart/values.json b/my-helm-chart/values.json deleted file mode 100644 index 45612fe2712..00000000000 --- a/my-helm-chart/values.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "service": { - "name": "rac-service", - "type": "ClusterIP", - "port": 80 - }, - "configMap": { - "authConfig": { - "tenant": "OIDP", - "loginApiUrl": "ksdn", - "restApiUrl": "asdjn", - "ssoFlag": true, - "userIdleTime": 900, - "userIdleTimeOut": 900, - "tokenExpFirstWarningMinutes": 15, - "tokenExpSecondWarningMinutes": 5, - "auth": { - "issuer": "asdj", - "clientId": "ADMINCONSOLE_NEXTGEN_DEV", - "redirectUri": "asd", - "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", - "logoutUrl": "asdb", - "idpLogoutUrl": "asdjb", - "requireHttps": false, - "idpApiKey": "FIS", - "interceptUrls": ["origin"], - "responseType": "code", - "autoRefresh": true, - "listenToToken": "access_token" - } - } - } -} From 5611aae06d7d164b9b0b2e0e4c222984afe68a27 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:48:03 +0530 Subject: [PATCH 25/50] Create configmap.yaml --- my-helm-chart/templates/configmap.yaml | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 my-helm-chart/templates/configmap.yaml diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml new file mode 100644 index 00000000000..3670b97ce2c --- /dev/null +++ b/my-helm-chart/templates/configmap.yaml @@ -0,0 +1,32 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: rac-config-files +data: + config.json: | + { + "authConfig": { + "tenant": "OIDP", + "loginApiUrl": "ksdn", + "restApiUrl": "asdjn", + "ssoFlag": true, + "userIdleTime": 900, + "userIdleTimeOut": 900, + "tokenExpFirstWarningMinutes": 15, + "tokenExpSecondWarningMinutes": 5, + "auth": { + "issuer": "asdj", + "clientId": "ADMINCONSOLE_NEXTGEN_DEV", + "redirectUri": "asd", + "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", + "logoutUrl": "asdb", + "idpLogoutUrl": "asdjb", + "requireHttps": false, + "idpApiKey": "FIS", + "interceptUrls": ["origin"], + "responseType": "code", + "autoRefresh": true, + "listenToToken": "access_token" + } + } + } From 05ae9f6290657991f6f2a836a938ec9663bc86f5 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:48:21 +0530 Subject: [PATCH 26/50] Create deployment.yaml --- my-helm-chart/templates/deployment.yaml | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 my-helm-chart/templates/deployment.yaml diff --git a/my-helm-chart/templates/deployment.yaml b/my-helm-chart/templates/deployment.yaml new file mode 100644 index 00000000000..3f6d66c3672 --- /dev/null +++ b/my-helm-chart/templates/deployment.yaml @@ -0,0 +1,27 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ .Release.Name }}-app +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ .Release.Name }}-app + template: + metadata: + labels: + app: {{ .Release.Name }}-app + spec: + containers: + - name: app-container + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + ports: + - containerPort: {{ .Values.service.port }} + volumeMounts: + - name: config-volume + mountPath: /app/config + readOnly: true + volumes: + - name: config-volume + configMap: + name: rac-config-files From 4acc02c2d04f5e838707983290de720d4b71fb0b Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:48:38 +0530 Subject: [PATCH 27/50] Create service.yaml --- my-helm-chart/templates/service.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 my-helm-chart/templates/service.yaml diff --git a/my-helm-chart/templates/service.yaml b/my-helm-chart/templates/service.yaml new file mode 100644 index 00000000000..30f50aa1a82 --- /dev/null +++ b/my-helm-chart/templates/service.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Release.Name }}-service +spec: + type: {{ .Values.service.type }} + selector: + app: {{ .Release.Name }}-app + ports: + - port: {{ .Values.service.port }} + targetPort: {{ .Values.service.port }} From 252ff0b887ddfc35c5e4100b1e930ca8e1056459 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:48:55 +0530 Subject: [PATCH 28/50] Create values.yaml --- my-helm-chart/values.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 my-helm-chart/values.yaml diff --git a/my-helm-chart/values.yaml b/my-helm-chart/values.yaml new file mode 100644 index 00000000000..351e80c3471 --- /dev/null +++ b/my-helm-chart/values.yaml @@ -0,0 +1,9 @@ +replicaCount: 1 + +image: + repository: myrepo/myapp + tag: latest + +service: + type: ClusterIP + port: 80 From c96d89210e827966a82069cb51d93f9c0e11681c Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:51:02 +0530 Subject: [PATCH 29/50] Update values.yaml --- my-helm-chart/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/values.yaml b/my-helm-chart/values.yaml index 351e80c3471..cb691569c59 100644 --- a/my-helm-chart/values.yaml +++ b/my-helm-chart/values.yaml @@ -1,7 +1,7 @@ replicaCount: 1 image: - repository: myrepo/myapp + repository: library/nginx tag: latest service: From 6dac3021505b95beb704b84e13a126e514eb2610 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:53:49 +0530 Subject: [PATCH 30/50] Create Chart.yaml --- my-helm-chart/templates/Chart.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 my-helm-chart/templates/Chart.yaml diff --git a/my-helm-chart/templates/Chart.yaml b/my-helm-chart/templates/Chart.yaml new file mode 100644 index 00000000000..bc79dab820b --- /dev/null +++ b/my-helm-chart/templates/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: rac-app +description: A Helm chart for deploying the RAC application +type: application +version: 0.1.0 +appVersion: "1.0.0" From 9f4379c8129f15b8a46119d333f49b3d1a0f32cb Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 12:59:31 +0530 Subject: [PATCH 31/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 42 ++++++-------------------- 1 file changed, 10 insertions(+), 32 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 3670b97ce2c..05fee403fc6 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -1,32 +1,10 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: rac-config-files -data: - config.json: | - { - "authConfig": { - "tenant": "OIDP", - "loginApiUrl": "ksdn", - "restApiUrl": "asdjn", - "ssoFlag": true, - "userIdleTime": 900, - "userIdleTimeOut": 900, - "tokenExpFirstWarningMinutes": 15, - "tokenExpSecondWarningMinutes": 5, - "auth": { - "issuer": "asdj", - "clientId": "ADMINCONSOLE_NEXTGEN_DEV", - "redirectUri": "asd", - "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", - "logoutUrl": "asdb", - "idpLogoutUrl": "asdjb", - "requireHttps": false, - "idpApiKey": "FIS", - "interceptUrls": ["origin"], - "responseType": "code", - "autoRefresh": true, - "listenToToken": "access_token" - } - } - } +{ + "apiVersion": "v1", + "kind": "ConfigMap", + "metadata": { + "name": "rac-config-files" + }, + "data": { + "config.json": "{\n \"authConfig\": {\n \"tenant\": \"OIDP\",\n \"loginApiUrl\": \"ksdn\",\n \"restApiUrl\": \"asdjn\",\n \"ssoFlag\": true,\n \"userIdleTime\": 900,\n \"userIdleTimeOut\": 900,\n \"tokenExpFirstWarningMinutes\": 15,\n \"tokenExpSecondWarningMinutes\": 5,\n \"auth\": {\n \"issuer\": \"asdj\",\n \"clientId\": \"ADMINCONSOLE_NEXTGEN_DEV\",\n \"redirectUri\": \"asd\",\n \"dummyClientSecret\": \"d0744e740ec90042800bbca0d76d0eca87fa\",\n \"logoutUrl\": \"asdb\",\n \"idpLogoutUrl\": \"asdjb\",\n \"requireHttps\": false,\n \"idpApiKey\": \"FIS\",\n \"interceptUrls\": [\"origin\"],\n \"responseType\": \"code\",\n \"autoRefresh\": true,\n \"listenToToken\": \"access_token\"\n }\n }\n}" + } +} From 748eff5fc220b3dc469f3bb5c9746b6c5708f3c5 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 13:02:19 +0530 Subject: [PATCH 32/50] Create config.json --- my-helm-chart/overrides/config.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 my-helm-chart/overrides/config.json diff --git a/my-helm-chart/overrides/config.json b/my-helm-chart/overrides/config.json new file mode 100644 index 00000000000..05fee403fc6 --- /dev/null +++ b/my-helm-chart/overrides/config.json @@ -0,0 +1,10 @@ +{ + "apiVersion": "v1", + "kind": "ConfigMap", + "metadata": { + "name": "rac-config-files" + }, + "data": { + "config.json": "{\n \"authConfig\": {\n \"tenant\": \"OIDP\",\n \"loginApiUrl\": \"ksdn\",\n \"restApiUrl\": \"asdjn\",\n \"ssoFlag\": true,\n \"userIdleTime\": 900,\n \"userIdleTimeOut\": 900,\n \"tokenExpFirstWarningMinutes\": 15,\n \"tokenExpSecondWarningMinutes\": 5,\n \"auth\": {\n \"issuer\": \"asdj\",\n \"clientId\": \"ADMINCONSOLE_NEXTGEN_DEV\",\n \"redirectUri\": \"asd\",\n \"dummyClientSecret\": \"d0744e740ec90042800bbca0d76d0eca87fa\",\n \"logoutUrl\": \"asdb\",\n \"idpLogoutUrl\": \"asdjb\",\n \"requireHttps\": false,\n \"idpApiKey\": \"FIS\",\n \"interceptUrls\": [\"origin\"],\n \"responseType\": \"code\",\n \"autoRefresh\": true,\n \"listenToToken\": \"access_token\"\n }\n }\n}" + } +} From cbd665b275354745d391d332fd355703d004c17d Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 13:02:38 +0530 Subject: [PATCH 33/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 51 +++++++++++++++++++++----- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 05fee403fc6..ecc735801bc 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -1,10 +1,41 @@ -{ - "apiVersion": "v1", - "kind": "ConfigMap", - "metadata": { - "name": "rac-config-files" - }, - "data": { - "config.json": "{\n \"authConfig\": {\n \"tenant\": \"OIDP\",\n \"loginApiUrl\": \"ksdn\",\n \"restApiUrl\": \"asdjn\",\n \"ssoFlag\": true,\n \"userIdleTime\": 900,\n \"userIdleTimeOut\": 900,\n \"tokenExpFirstWarningMinutes\": 15,\n \"tokenExpSecondWarningMinutes\": 5,\n \"auth\": {\n \"issuer\": \"asdj\",\n \"clientId\": \"ADMINCONSOLE_NEXTGEN_DEV\",\n \"redirectUri\": \"asd\",\n \"dummyClientSecret\": \"d0744e740ec90042800bbca0d76d0eca87fa\",\n \"logoutUrl\": \"asdb\",\n \"idpLogoutUrl\": \"asdjb\",\n \"requireHttps\": false,\n \"idpApiKey\": \"FIS\",\n \"interceptUrls\": [\"origin\"],\n \"responseType\": \"code\",\n \"autoRefresh\": true,\n \"listenToToken\": \"access_token\"\n }\n }\n}" - } -} +apiVersion: v1 +kind: ConfigMap +metadata: + name: rac-config-files +data: + config.json: | + { + "authConfig": { + "tenant": "OIDP", + "loginApiUrl": "ksdn", + "restApiUrl": "asdjn", + "ssoFlag": true, + "userIdleTime": 900, + "userIdleTimeOut": 900, + "tokenExpFirstWarningMinutes": 15, + "tokenExpSecondWarningMinutes": 5, + "auth": { + "issuer": "asdj", + "clientId": "ADMINCONSOLE_NEXTGEN_DEV", + "redirectUri": "asd", + "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", + "logoutUrl": "asdb", + "idpLogoutUrl": "asdjb", + "requireHttps": false, + "idpApiKey": "FIS", + "interceptUrls": ["origin"], + "responseType": "code", + "autoRefresh": true, + "listenToToken": "access_token" + } + } + } + + + + + + + + + From dd08bb710773d73dda096baa6731e728be2ad9d4 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 13:52:56 +0530 Subject: [PATCH 34/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 49 +++++++++++--------------- 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index ecc735801bc..83d8a6b8b58 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -6,36 +6,27 @@ data: config.json: | { "authConfig": { - "tenant": "OIDP", - "loginApiUrl": "ksdn", - "restApiUrl": "asdjn", - "ssoFlag": true, - "userIdleTime": 900, - "userIdleTimeOut": 900, - "tokenExpFirstWarningMinutes": 15, - "tokenExpSecondWarningMinutes": 5, + "tenant": "{{ .Values.authConfig.tenant }}", + "loginApiUrl": "{{ .Values.authConfig.loginApiUrl }}", + "restApiUrl": "{{ .Values.authConfig.restApiUrl }}", + "ssoFlag": {{ .Values.authConfig.ssoFlag }}, + "userIdleTime": {{ .Values.authConfig.userIdleTime }}, + "userIdleTimeOut": {{ .Values.authConfig.userIdleTimeOut }}, + "tokenExpFirstWarningMinutes": {{ .Values.authConfig.tokenExpFirstWarningMinutes }}, + "tokenExpSecondWarningMinutes": {{ .Values.authConfig.tokenExpSecondWarningMinutes }}, "auth": { - "issuer": "asdj", - "clientId": "ADMINCONSOLE_NEXTGEN_DEV", - "redirectUri": "asd", - "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", - "logoutUrl": "asdb", - "idpLogoutUrl": "asdjb", - "requireHttps": false, - "idpApiKey": "FIS", - "interceptUrls": ["origin"], - "responseType": "code", - "autoRefresh": true, - "listenToToken": "access_token" + "issuer": "{{ .Values.authConfig.auth.issuer }}", + "clientId": "{{ .Values.authConfig.auth.clientId }}", + "redirectUri": "{{ .Values.authConfig.auth.redirectUri }}", + "dummyClientSecret": "{{ .Values.authConfig.auth.dummyClientSecret }}", + "logoutUrl": "{{ .Values.authConfig.auth.logoutUrl }}", + "idpLogoutUrl": "{{ .Values.authConfig.auth.idpLogoutUrl }}", + "requireHttps": {{ .Values.authConfig.auth.requireHttps }}, + "idpApiKey": "{{ .Values.authConfig.auth.idpApiKey }}", + "interceptUrls": [{{ join "," (pluck "interceptUrls" .Values.authConfig.auth | first | quote) }}], + "responseType": "{{ .Values.authConfig.auth.responseType }}", + "autoRefresh": {{ .Values.authConfig.auth.autoRefresh }}, + "listenToToken": "{{ .Values.authConfig.auth.listenToToken }}" } } } - - - - - - - - - From bbcbf9a7d29becd2ac264f2c543a99a5cb075f51 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 13:53:41 +0530 Subject: [PATCH 35/50] Update config.json --- my-helm-chart/overrides/config.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/my-helm-chart/overrides/config.json b/my-helm-chart/overrides/config.json index 05fee403fc6..39ec4137085 100644 --- a/my-helm-chart/overrides/config.json +++ b/my-helm-chart/overrides/config.json @@ -1,10 +1,5 @@ { - "apiVersion": "v1", - "kind": "ConfigMap", - "metadata": { - "name": "rac-config-files" - }, - "data": { - "config.json": "{\n \"authConfig\": {\n \"tenant\": \"OIDP\",\n \"loginApiUrl\": \"ksdn\",\n \"restApiUrl\": \"asdjn\",\n \"ssoFlag\": true,\n \"userIdleTime\": 900,\n \"userIdleTimeOut\": 900,\n \"tokenExpFirstWarningMinutes\": 15,\n \"tokenExpSecondWarningMinutes\": 5,\n \"auth\": {\n \"issuer\": \"asdj\",\n \"clientId\": \"ADMINCONSOLE_NEXTGEN_DEV\",\n \"redirectUri\": \"asd\",\n \"dummyClientSecret\": \"d0744e740ec90042800bbca0d76d0eca87fa\",\n \"logoutUrl\": \"asdb\",\n \"idpLogoutUrl\": \"asdjb\",\n \"requireHttps\": false,\n \"idpApiKey\": \"FIS\",\n \"interceptUrls\": [\"origin\"],\n \"responseType\": \"code\",\n \"autoRefresh\": true,\n \"listenToToken\": \"access_token\"\n }\n }\n}" + "authConfig": { + "userIdleTimeOut": 350 } } From 41be439be49ac79b306e8debc4e33b5447a75ea3 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 13:55:24 +0530 Subject: [PATCH 36/50] Update values.yaml --- my-helm-chart/values.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/my-helm-chart/values.yaml b/my-helm-chart/values.yaml index cb691569c59..ac3706c71ac 100644 --- a/my-helm-chart/values.yaml +++ b/my-helm-chart/values.yaml @@ -7,3 +7,27 @@ image: service: type: ClusterIP port: 80 + +authConfig: + tenant: "OIDP" + loginApiUrl: "ksdn" + restApiUrl: "asdjn" + ssoFlag: true + userIdleTime: 900 + userIdleTimeOut: 900 + tokenExpFirstWarningMinutes: 15 + tokenExpSecondWarningMinutes: 5 + auth: + issuer: "asdj" + clientId: "ADMINCONSOLE_NEXTGEN_DEV" + redirectUri: "asd" + dummyClientSecret: "d0744e740ec90042800bbca0d76d0eca87fa" + logoutUrl: "asdb" + idpLogoutUrl: "asdjb" + requireHttps: false + idpApiKey: "FIS" + interceptUrls: + - "origin" + responseType: "code" + autoRefresh: true + listenToToken: "access_token" From 7f757591a962ade826a456985d03dd05859e79be Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 13:59:57 +0530 Subject: [PATCH 37/50] Create values.yaml --- my-helm-chart/templates/values.yaml | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 my-helm-chart/templates/values.yaml diff --git a/my-helm-chart/templates/values.yaml b/my-helm-chart/templates/values.yaml new file mode 100644 index 00000000000..ac3706c71ac --- /dev/null +++ b/my-helm-chart/templates/values.yaml @@ -0,0 +1,33 @@ +replicaCount: 1 + +image: + repository: library/nginx + tag: latest + +service: + type: ClusterIP + port: 80 + +authConfig: + tenant: "OIDP" + loginApiUrl: "ksdn" + restApiUrl: "asdjn" + ssoFlag: true + userIdleTime: 900 + userIdleTimeOut: 900 + tokenExpFirstWarningMinutes: 15 + tokenExpSecondWarningMinutes: 5 + auth: + issuer: "asdj" + clientId: "ADMINCONSOLE_NEXTGEN_DEV" + redirectUri: "asd" + dummyClientSecret: "d0744e740ec90042800bbca0d76d0eca87fa" + logoutUrl: "asdb" + idpLogoutUrl: "asdjb" + requireHttps: false + idpApiKey: "FIS" + interceptUrls: + - "origin" + responseType: "code" + autoRefresh: true + listenToToken: "access_token" From c4bf3e46e0cd2320ab27ba1c1a3dc169f8554254 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 14:00:15 +0530 Subject: [PATCH 38/50] Delete my-helm-chart/values.yaml --- my-helm-chart/values.yaml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 my-helm-chart/values.yaml diff --git a/my-helm-chart/values.yaml b/my-helm-chart/values.yaml deleted file mode 100644 index ac3706c71ac..00000000000 --- a/my-helm-chart/values.yaml +++ /dev/null @@ -1,33 +0,0 @@ -replicaCount: 1 - -image: - repository: library/nginx - tag: latest - -service: - type: ClusterIP - port: 80 - -authConfig: - tenant: "OIDP" - loginApiUrl: "ksdn" - restApiUrl: "asdjn" - ssoFlag: true - userIdleTime: 900 - userIdleTimeOut: 900 - tokenExpFirstWarningMinutes: 15 - tokenExpSecondWarningMinutes: 5 - auth: - issuer: "asdj" - clientId: "ADMINCONSOLE_NEXTGEN_DEV" - redirectUri: "asd" - dummyClientSecret: "d0744e740ec90042800bbca0d76d0eca87fa" - logoutUrl: "asdb" - idpLogoutUrl: "asdjb" - requireHttps: false - idpApiKey: "FIS" - interceptUrls: - - "origin" - responseType: "code" - autoRefresh: true - listenToToken: "access_token" From e59d4dc4e15878dbc12ba1931ed5391b05191758 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 14:44:56 +0530 Subject: [PATCH 39/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 40 +++++++++++++------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 83d8a6b8b58..3670b97ce2c 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -6,27 +6,27 @@ data: config.json: | { "authConfig": { - "tenant": "{{ .Values.authConfig.tenant }}", - "loginApiUrl": "{{ .Values.authConfig.loginApiUrl }}", - "restApiUrl": "{{ .Values.authConfig.restApiUrl }}", - "ssoFlag": {{ .Values.authConfig.ssoFlag }}, - "userIdleTime": {{ .Values.authConfig.userIdleTime }}, - "userIdleTimeOut": {{ .Values.authConfig.userIdleTimeOut }}, - "tokenExpFirstWarningMinutes": {{ .Values.authConfig.tokenExpFirstWarningMinutes }}, - "tokenExpSecondWarningMinutes": {{ .Values.authConfig.tokenExpSecondWarningMinutes }}, + "tenant": "OIDP", + "loginApiUrl": "ksdn", + "restApiUrl": "asdjn", + "ssoFlag": true, + "userIdleTime": 900, + "userIdleTimeOut": 900, + "tokenExpFirstWarningMinutes": 15, + "tokenExpSecondWarningMinutes": 5, "auth": { - "issuer": "{{ .Values.authConfig.auth.issuer }}", - "clientId": "{{ .Values.authConfig.auth.clientId }}", - "redirectUri": "{{ .Values.authConfig.auth.redirectUri }}", - "dummyClientSecret": "{{ .Values.authConfig.auth.dummyClientSecret }}", - "logoutUrl": "{{ .Values.authConfig.auth.logoutUrl }}", - "idpLogoutUrl": "{{ .Values.authConfig.auth.idpLogoutUrl }}", - "requireHttps": {{ .Values.authConfig.auth.requireHttps }}, - "idpApiKey": "{{ .Values.authConfig.auth.idpApiKey }}", - "interceptUrls": [{{ join "," (pluck "interceptUrls" .Values.authConfig.auth | first | quote) }}], - "responseType": "{{ .Values.authConfig.auth.responseType }}", - "autoRefresh": {{ .Values.authConfig.auth.autoRefresh }}, - "listenToToken": "{{ .Values.authConfig.auth.listenToToken }}" + "issuer": "asdj", + "clientId": "ADMINCONSOLE_NEXTGEN_DEV", + "redirectUri": "asd", + "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", + "logoutUrl": "asdb", + "idpLogoutUrl": "asdjb", + "requireHttps": false, + "idpApiKey": "FIS", + "interceptUrls": ["origin"], + "responseType": "code", + "autoRefresh": true, + "listenToToken": "access_token" } } } From d9f3dbb58ff9fd4a4c1306739d6e68ab4996f323 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 14:45:11 +0530 Subject: [PATCH 40/50] Update values.yaml --- my-helm-chart/templates/values.yaml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/my-helm-chart/templates/values.yaml b/my-helm-chart/templates/values.yaml index ac3706c71ac..d9007fe8572 100644 --- a/my-helm-chart/templates/values.yaml +++ b/my-helm-chart/templates/values.yaml @@ -8,26 +8,3 @@ service: type: ClusterIP port: 80 -authConfig: - tenant: "OIDP" - loginApiUrl: "ksdn" - restApiUrl: "asdjn" - ssoFlag: true - userIdleTime: 900 - userIdleTimeOut: 900 - tokenExpFirstWarningMinutes: 15 - tokenExpSecondWarningMinutes: 5 - auth: - issuer: "asdj" - clientId: "ADMINCONSOLE_NEXTGEN_DEV" - redirectUri: "asd" - dummyClientSecret: "d0744e740ec90042800bbca0d76d0eca87fa" - logoutUrl: "asdb" - idpLogoutUrl: "asdjb" - requireHttps: false - idpApiKey: "FIS" - interceptUrls: - - "origin" - responseType: "code" - autoRefresh: true - listenToToken: "access_token" From 9939a191a905950ef4bc24c95ca35d3d9b1fc428 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 14:47:00 +0530 Subject: [PATCH 41/50] Update config.json --- my-helm-chart/overrides/config.json | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/my-helm-chart/overrides/config.json b/my-helm-chart/overrides/config.json index 39ec4137085..c29b2e83f15 100644 --- a/my-helm-chart/overrides/config.json +++ b/my-helm-chart/overrides/config.json @@ -1,5 +1,28 @@ { "authConfig": { - "userIdleTimeOut": 350 + "tenant": "OIDP", + "loginApiUrl": "ksdn", + "restApiUrl": "asdjn", + "ssoFlag": true, + "userIdleTime": 900, + "userIdleTimeOut": 900, + "tokenExpFirstWarningMinutes": 15, + "tokenExpSecondWarningMinutes": 5, + "auth": { + "issuer": "asdj", + "clientId": "ADMINCONSOLE_NEXTGEN_DEV", + "redirectUri": "asd", + "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", + "logoutUrl": "asdb", + "idpLogoutUrl": "asdjb", + "requireHttps": false, + "idpApiKey": "FIS", + "interceptUrls": [ + "origin" + ], + "responseType": "code", + "autoRefresh": true, + "listenToToken": "access_token" + } } } From b2505f438c62b3a7d5ddf20e186c75f411f1b149 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 15:40:36 +0530 Subject: [PATCH 42/50] Update config.json --- my-helm-chart/overrides/config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/my-helm-chart/overrides/config.json b/my-helm-chart/overrides/config.json index c29b2e83f15..264dbb86911 100644 --- a/my-helm-chart/overrides/config.json +++ b/my-helm-chart/overrides/config.json @@ -1,3 +1,4 @@ +myconfig:| { "authConfig": { "tenant": "OIDP", From 05899187a30c20e5b4fe1352ab6e8b9f3a8e2691 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 15:41:36 +0530 Subject: [PATCH 43/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 28 +------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 3670b97ce2c..82688d52516 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -3,30 +3,4 @@ kind: ConfigMap metadata: name: rac-config-files data: - config.json: | - { - "authConfig": { - "tenant": "OIDP", - "loginApiUrl": "ksdn", - "restApiUrl": "asdjn", - "ssoFlag": true, - "userIdleTime": 900, - "userIdleTimeOut": 900, - "tokenExpFirstWarningMinutes": 15, - "tokenExpSecondWarningMinutes": 5, - "auth": { - "issuer": "asdj", - "clientId": "ADMINCONSOLE_NEXTGEN_DEV", - "redirectUri": "asd", - "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", - "logoutUrl": "asdb", - "idpLogoutUrl": "asdjb", - "requireHttps": false, - "idpApiKey": "FIS", - "interceptUrls": ["origin"], - "responseType": "code", - "autoRefresh": true, - "listenToToken": "access_token" - } - } - } + config.json: {{ .Values.myconfig }} From 09ebd4924e82bde3f9a9a491bbc2bc96a30ac9f1 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 15:46:19 +0530 Subject: [PATCH 44/50] Update config.json --- my-helm-chart/overrides/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my-helm-chart/overrides/config.json b/my-helm-chart/overrides/config.json index 264dbb86911..05404a8a7d2 100644 --- a/my-helm-chart/overrides/config.json +++ b/my-helm-chart/overrides/config.json @@ -1,4 +1,4 @@ -myconfig:| +myconfig: |- { "authConfig": { "tenant": "OIDP", From e42580fe31777b8b2342ed72b3487101ef7998c4 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 15:47:29 +0530 Subject: [PATCH 45/50] Update configmap.yaml --- my-helm-chart/templates/configmap.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/my-helm-chart/templates/configmap.yaml b/my-helm-chart/templates/configmap.yaml index 82688d52516..5004404c86b 100644 --- a/my-helm-chart/templates/configmap.yaml +++ b/my-helm-chart/templates/configmap.yaml @@ -3,4 +3,5 @@ kind: ConfigMap metadata: name: rac-config-files data: - config.json: {{ .Values.myconfig }} + config.json: |- + {{ toYaml .Values.myconfig | indent 2 }} From aec360a7c48139fd8828ed5c985aa0ec274d2928 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 15:51:44 +0530 Subject: [PATCH 46/50] Update config.json --- my-helm-chart/overrides/config.json | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/my-helm-chart/overrides/config.json b/my-helm-chart/overrides/config.json index 05404a8a7d2..b3644b5e3f8 100644 --- a/my-helm-chart/overrides/config.json +++ b/my-helm-chart/overrides/config.json @@ -1,29 +1,7 @@ myconfig: |- { - "authConfig": { - "tenant": "OIDP", - "loginApiUrl": "ksdn", - "restApiUrl": "asdjn", - "ssoFlag": true, - "userIdleTime": 900, - "userIdleTimeOut": 900, - "tokenExpFirstWarningMinutes": 15, - "tokenExpSecondWarningMinutes": 5, - "auth": { - "issuer": "asdj", - "clientId": "ADMINCONSOLE_NEXTGEN_DEV", - "redirectUri": "asd", - "dummyClientSecret": "d0744e740ec90042800bbca0d76d0eca87fa", - "logoutUrl": "asdb", - "idpLogoutUrl": "asdjb", - "requireHttps": false, - "idpApiKey": "FIS", - "interceptUrls": [ - "origin" - ], - "responseType": "code", - "autoRefresh": true, - "listenToToken": "access_token" - } + \"authConfig\": { + \"tenant\": \"OIDP\", + \"loginApiUrl\": \"ksdn\" } } From e07278ed25098f8192fd2cd171799e45b69dc201 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Tue, 20 May 2025 15:55:54 +0530 Subject: [PATCH 47/50] Update service.yaml --- my-helm-chart/templates/service.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/my-helm-chart/templates/service.yaml b/my-helm-chart/templates/service.yaml index 30f50aa1a82..3946cb3e138 100644 --- a/my-helm-chart/templates/service.yaml +++ b/my-helm-chart/templates/service.yaml @@ -1,11 +1,11 @@ apiVersion: v1 kind: Service metadata: - name: {{ .Release.Name }}-service + name: svc-new spec: - type: {{ .Values.service.type }} + type: ClusterIP selector: - app: {{ .Release.Name }}-app + app: test-app ports: - - port: {{ .Values.service.port }} - targetPort: {{ .Values.service.port }} + - port: 80 + targetPort: 80 From 5e9b3384823658f0905012babba5c5f233dd51b1 Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Thu, 12 Jun 2025 12:11:39 +0530 Subject: [PATCH 48/50] Create secrets.txt --- secrettesting/secrets.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 secrettesting/secrets.txt diff --git a/secrettesting/secrets.txt b/secrettesting/secrets.txt new file mode 100644 index 00000000000..41bd89ea85f --- /dev/null +++ b/secrettesting/secrets.txt @@ -0,0 +1 @@ +Name: "Manisha" From b3e020e0a6cfcdddac2006fb3b7610e599a1805a Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:39:26 +0530 Subject: [PATCH 49/50] Update internal-developer-portal.md --- docs/faqs/internal-developer-portal.md | 71 +++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/docs/faqs/internal-developer-portal.md b/docs/faqs/internal-developer-portal.md index 0d08f71f7c8..85d4d5ad457 100644 --- a/docs/faqs/internal-developer-portal.md +++ b/docs/faqs/internal-developer-portal.md @@ -58,4 +58,73 @@ During onboarding into IDP we mass onboard all the services using a `catalog-inf 3. In some cases the entities get into the `hasError` state. You can know whether the entity is in orphaned state or `hasError` state, by checking for the **Processing Status** dropdown on the Catalog page -4. Additionally, here is an example [script](https://github.com/harness-community/idp-samples/blob/main/catalog-scripts/identify-and-delete-orphan-entity.py) that finds and delete all the entities that has `NotFoundError`, because the `source-location` for these entities are no more valid (YAML files moved or renamed). \ No newline at end of file +4. Additionally, here is an example [script](https://github.com/harness-community/idp-samples/blob/main/catalog-scripts/identify-and-delete-orphan-entity.py) that finds and delete all the entities that has `NotFoundError`, because the `source-location` for these entities are no more valid (YAML files moved or renamed). + +### What is the purpose of using backend proxies in IDP? + +Backend proxies in IDP allow you to fetch external data sources like JSON files directly from GitHub or Harness Code, without needing a dedicated backend API. This helps centralize input data and simplifies workflow management. + +### How does the GitHub raw proxy configuration work? + +The GitHub raw proxy redirects requests from +/api/proxy/github-raw/ → https://raw.githubusercontent.com/, +using the PROXY_GITHUB_TOKEN for authentication. It enables you to retrieve JSON files from GitHub repositories and use their contents dynamically in workflows. + +### How can I configure a backend proxy for Harness Code? + +You can define the following proxy in your plugin configuration: + +proxy: + endpoints: + /harness-code: + target: https://app.harness.io/gateway/code/api/v1/repos// + pathRewrite: + /api/proxy/harness-code/?: / + headers: + x-api-key: ${PROXY_HARNESS_TOKEN} + + +This setup uses a Harness API key stored in a secret (PROXY_HARNESS_TOKEN) to authenticate and fetch raw JSON files from Harness Code repositories. + +### What type of authentication is needed for these proxies? + +GitHub Proxy: Requires a GitHub PAT stored as a Harness secret (PROXY_GITHUB_TOKEN). + +Harness Code Proxy: Requires a Harness API key with read access to Code repositories (PROXY_HARNESS_TOKEN). +Both tokens are securely referenced from Harness secrets. + +### How can I use the backend proxy in a workflow to populate dropdowns? + +Use the SelectFieldFromApi field in your workflow YAML: + +properties: + some-property: + type: string + ui:field: SelectFieldFromApi + ui:options: + title: Some Property + description: An input for users to select + path: "proxy/harness-code////+/raw/" + + +The dropdown values will be fetched from the JSON file stored in your repository. + +### Can I simplify proxy paths by locking the configuration to a specific org or repo? + +Yes. You can define organization-, project-, or repository-specific targets in your proxy configuration. This reduces the amount of information you need to pass in the workflow path. + +### How can I bulk register multiple components in Harness IDP? + +You can use the Catalog API with a custom script that iterates over multiple catalog locations. The script uses account details, API keys, and bearer tokens to automate the registration process for multiple component URLs in one go. + +### What is the purpose of the token field in workflow YAMLs? + +The token field (with ui:widget: password and ui:field: HarnessAuthToken) securely fetches the user’s short-lived session token for API calls during workflow execution. It ensures authentication without exposing sensitive credentials on the UI. + +### Why is the token visible during the “Review” step in multi-page workflows? + +If the token field is placed on any page other than the first, its ui:widget: password property isn’t evaluated correctly, causing the token to appear as plain text during the Review step. This is a known issue after the Backstage upgrade to v1.28. + +### How can I prevent tokens from being exposed in multi-page workflows? + +To hide tokens properly, move the token field to the first page (spec.parameters[0]) of the workflow YAML. This ensures the token remains masked (*****) throughout execution and prevents exposure during the Review step. From 2fb8b24aa77bc2890700d191fe54e4cf890027aa Mon Sep 17 00:00:00 2001 From: mehar221 <150252117+mehar221@users.noreply.github.com> Date: Fri, 31 Oct 2025 18:06:56 +0530 Subject: [PATCH 50/50] Update harness-platform-faqs update faqs --- docs/platform/harness-platform-faqs.md | 79 ++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/docs/platform/harness-platform-faqs.md b/docs/platform/harness-platform-faqs.md index d8f4696dab0..51f2159067d 100644 --- a/docs/platform/harness-platform-faqs.md +++ b/docs/platform/harness-platform-faqs.md @@ -3441,3 +3441,82 @@ Yes, Harness has an API to check the status of the deployment. You can check her ### How can user restart a delegate? User can restart the delegate by deleting the pod itself. + +### How does SCIM help with user synchronization in Harness? +SCIM (System for Cross-domain Identity Management) ensures continuous and real-time synchronization of user groups and access rights between your SAML provider and Harness. By enabling SCIM, user additions and updates in Okta (or another SAML provider) are automatically reflected in Harness, ensuring that users inherit the correct permissions and access levels. This helps in maintaining accurate access control across systems without manual intervention. + +### What happens if the email addresses in Okta and Harness do not match? +For SAML SSO to work properly, the email addresses in Okta and Harness must match exactly. If there is a mismatch or case sensitivity issue, Harness will convert the email address to lowercase before registering it. Therefore, ensure that users are invited to Harness using the same email address as in Okta to avoid login issues. + +### What should I do if a user is a member of more than 150 groups in Microsoft Entra ID? +When a user is part of more than 150 groups, Microsoft Entra ID limits the groups that can be included in the SAML token. In this case, a link to the Graph endpoint for retrieving group information will be included instead. To enable this functionality in Harness, you must configure the Azure app with a Client ID and Client Secret, and ensure that the required API permissions, such as User.Read.All, Directory.Read.All, and Group.Read.All, are granted for the app. + +### How do I configure the Unique User Identifier for Azure SSO in Harness? +To configure the Unique User Identifier for Azure SSO in Harness, set the Azure app's user.userprincipalname as the Unique User Identifier and choose "Email address" as the Name Identifier format. If user.userprincipalname isn't used, ensure the correct attribute is mapped to the Unique User Identifier with the email address. + +### Can I synchronize LDAP users manually with a Harness User Group? +Yes, you can manually synchronize LDAP users with a Harness User Group. To do this: +Link your Harness User Group to the LDAP SSO configuration. +Go to Account Settings and click Authentication. +In the Login via LDAP section, click the three dots next to your LDAP SSO configuration and select Synchronize User Groups. This will allow you to manually trigger synchronization of LDAP users into the associated Harness User Group. + +### Can I configure multiple OIDC providers for authentication in Harness? +Yes, Harness supports the configuration of multiple OIDC providers. This means you can authenticate users from different identity providers, providing flexibility for organizations that use more than one authentication service. Each provider can be set up to handle user access and provisioning separately. + +### Why should I use CyberArk Conjur for secret management in Harness? +CyberArk Conjur provides robust security features like role-based access control (RBAC), auditing, and encryption to manage sensitive data. By integrating it with Harness, you can centralize your secret management and avoid hardcoding secrets in your pipeline or application configurations. This integration also allows you to automate secret retrieval during deployments, making your processes more secure and efficient while ensuring compliance with organizational security policies. + +### What is CyberArk Conjur and how does it integrate with Harness for secret management? +CyberArk Conjur is a secrets management solution that helps organizations securely store and manage sensitive data, such as credentials, keys, and API tokens. When integrated with Harness, it enables users to securely store secrets and use them within Harness workflows, such as deployment pipelines. By linking CyberArk Conjur as a custom secret manager in Harness, you can ensure that sensitive information is fetched securely from Conjur and used dynamically during various operations without exposing it in the open. + +### Why are file secrets not masked in Harness logs? +In Harness, file secrets are not masked in logs because they can vary in format (e.g., JSON, YAML, etc.) and can contain larger, more complex data compared to text secrets. While text secrets are securely masked in logs, file secrets may include critical configuration or key data that needs to be decoded. Therefore, it's important to handle file secrets carefully, ensuring that access to logs is restricted and that appropriate security measures, such as RBAC and encrypted storage, are in place to protect sensitive information. + +### What are the key permissions required for a Nexus connector in Harness? +To successfully connect and use a Nexus connector in Harness, the user account associated with the connector must have specific permissions on the Nexus Server. These include the "Repo: All repositories (Read)" permission, which allows the account to access all repositories, and the "Nexus UI: Repository Browser" permission, which grants access to the repository browsing functionality. Additionally, if using Nexus 3 as a Docker repository, the account must have the "nx-repository-view-__*" privilege to interact with Docker images in the repository. These permissions are essential for the connector to work properly with Nexus repositories. + +### What are Verification Providers in Harness? +Verification Providers in Harness allow you to integrate monitoring and logging systems to verify the success of deployments. By connecting platforms like AppDynamics, Prometheus, New Relic, and others, you can monitor the health of your deployed applications, validate metrics, and check the system's behavior after an update. This integration ensures that your deployments align with the expected performance criteria, providing real-time feedback on the deployment status. + +### How Does Service Discovery Work with Multiple Namespaces? +Harness allows service discovery across multiple namespaces by configuring inclusion or exclusion settings in the discovery agent. This setup enables the agent to discover services in specified namespaces, requiring appropriate roles and permissions for the service account to manage the discovery process. + +### How Does OAuth Enhance Security in Git Operations with Harness? +OAuth integration enhances security by ensuring that commits to Git are made using authorized user credentials, rather than shared or stored Git credentials. This provides better control over who is making changes, prevents unauthorized access, and complies with security practices by storing access tokens securely in the Harness user profile. + +### What are the benefits of using a local NTP server or Google Public NTP for time synchronization? +Using a local NTP server or Google Public NTP ensures your systems are always in sync with a reliable time source. This reduces the chances of errors, helps systems stay consistent, and makes sure everything is on the same page in terms of time. + +### What happens if my pipeline and its referenced entities are in different Git repositories? +Answer: Don’t worry; Harness has got your back! If your pipeline references templates or other entities from a different repository, it pulls them from the default branch of those repos. This ensures you’re always working with stable and tested configurations. It’s like having a super-efficient delivery system that always fetches the freshest, most reliable resources for your pipeline execution, no matter where they live! + +### Can I be a Git ninja and enforce Git Experience across all my Harness resources? +Answer: Absolutely! By enabling "Enforce Git Experience," you’re telling Harness to only save your resources in Git repositories. It’s like creating a magical barrier that keeps everything neat and organized in Git, and no more inline pipelines slipping through the cracks. This setting makes sure your team works with only the most up-to-date, tested configurations — no more mess, just streamlined, version-controlled deployment magic! + +### What does the FibonacciBackOff - SocketTimeoutException: Connect timed out error mean? +This error means the Harness Delegate can't reach the Manager endpoint, likely due to: +Wrong Manager URL in the delegate YAML +Network/firewall blocking port 443 +DNS issues or manager downtime +Fix: +Verify MANAGER_HOST_AND_PORT is correct +Run curl or telnet to check connectivity from the node +Ensure port 443 is open and DNS resolves the manager URL +The delegate retries using a Fibonacci delay. Fix the network/config and it’ll reconnect automatically. + +### What should I do if an inline entity is accidentally deleted in Harness? +If an inline entity (not stored in Git) is deleted from the Harness UI, it cannot be automatically restored like remote Git-backed entities. +What you can do: +Check Audit Trails to view previous configurations. +Manually recreate the entity using this data. +Unfortunately, there's no direct restore option for inline entities — manual recreation is the only recovery method. + +### How can I stop and start an EC2 instance using a Harness pipeline? +You can stop and start an EC2 instance in a Harness pipeline using a Shell Script step that runs an AWS CLI command or a Python script with the Boto3 library. Ensure the delegate has AWS CLI and Python with Boto3 installed, and that AWS credentials are configured (via environment variables or IAM role/profile). This is helpful for workflows like upgrading EC2 instance types, where stopping and starting is required. + +### What does "Incomplete Secret" mean in the context of creating secrets via YAML? +An "Incomplete Secret" status indicates that the secret has been created successfully, but it is not fully usable. This occurs because the secret value cannot be provided in plain text within the YAML file. The value must be entered manually in the visual mode after the skeleton of the secret is created via YAML. + +### How can I complete an "Incomplete Secret"? +After creating the secret skeleton via YAML, you need to manually edit the secret in the visual mode of your platform. There, you can input the secret value into the appropriate password field. +