Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add ss-webhook to values file k8-infisical

Maidul Islam4cd203c194f4
diff --git a/backend/src/index.ts b/backend/src/index.ts
index 0d923fd855..251340526b 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -105,7 +105,7 @@ const main = async () => {
smee.start()
}
- app.use(createNodeMiddleware(GithubSecretScanningService, { probot, webhooksPath: "api/ss-webhook" })); // secret scanning webhook
+ app.use(createNodeMiddleware(GithubSecretScanningService, { probot, webhooksPath: "/ss-webhook" })); // secret scanning webhook
}
if ((await getNodeEnv()) === "production") {
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml
index 01d6524d17..6f7f359bac 100644
--- a/helm-charts/infisical/Chart.yaml
+++ b/helm-charts/infisical/Chart.yaml
@@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.2.0
+version: 0.2.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
diff --git a/helm-charts/infisical/templates/ingress.yaml b/helm-charts/infisical/templates/ingress.yaml
index a675fa2ff4..6599485100 100644
--- a/helm-charts/infisical/templates/ingress.yaml
+++ b/helm-charts/infisical/templates/ingress.yaml
@@ -44,6 +44,13 @@ spec:
name: {{ include "infisical.backend.fullname" . }}
port:
number: 4000
+ - path: /ss-webhook
+ pathType: Exact
+ backend:
+ service:
+ name: {{ include "infisical.backend.fullname" . }}
+ port:
+ number: 4000
{{- if $ingress.hostName }}
host: {{ $ingress.hostName }}
{{- end }}
diff --git a/helm-charts/infisical/values.yaml b/helm-charts/infisical/values.yaml
index d346dca86b..a65f59223e 100644
--- a/helm-charts/infisical/values.yaml
+++ b/helm-charts/infisical/values.yaml
@@ -169,53 +169,6 @@ backendEnvironmentVariables:
##
MONGO_URL: ""
-secretScanningGitApp:
- ## @param backend.enabled Enable git scanning app
- ##
- enabled: false
- ## @param backend.name Backend name
- ##
- name: secret-scanning-git-app
- ## @param backend.fullnameOverride Backend fullnameOverride
- ##
- fullnameOverride: ""
- ## @param backend.podAnnotations Backend pod annotations
- ##
- podAnnotations: {}
- ## @param backend.deploymentAnnotations Backend deployment annotations
- ##
- deploymentAnnotations: {}
- ## @param backend.replicaCount Backend replica count
- ##
- replicaCount: 2
- ## Backend image parameters
- ##
- image:
- ## @param backend.image.repository Backend image repository
- ##
- repository: infisical/staging_deployment_secret-scanning-git-app
- ## @param backend.image.tag Backend image tag
- ##
- tag: "latest"
- ## @param backend.image.pullPolicy Backend image pullPolicy
- ##
- pullPolicy: IfNotPresent
- ## @param backend.kubeSecretRef Backend secret resource reference name (containing required [backend configuration variables](https://infisical.com/docs/self-hosting/configuration/envars))
- ##
- kubeSecretRef: ""
- ## Backend service
- ##
- service:
- ## @param backend.service.annotations Backend service annotations
- ##
- annotations: {}
- ## @param backend.service.type Backend service type
- ##
- type: ClusterIP
- ## @param backend.service.nodePort Backend service nodePort (used if above type is `NodePort`)
- ##
- nodePort: ""
-
## @section MongoDB(®) parameters
## Documentation : https://github.com/bitnami/charts/blob/main/bitnami/mongodb/values.yaml
##
@@ -374,11 +327,6 @@ ingress:
backend:
path: /api
pathType: Prefix
- ## @skip ingress.backend
- ##
- secretScanningGitApp:
- path: /git-app-api
- pathType: Prefix
## @param ingress.tls Ingress TLS hosts (matching above hostName)
## Replace with your own domain
##