diff --git a/.github/values.yaml b/.github/values.yaml
index 5fd38b031..819df5066 100644
--- a/.github/values.yaml
+++ b/.github/values.yaml
@@ -1,11 +1,5 @@
-#####
-# INFISICAL K8 DEFAULT VALUES FILE
-# PLEASE REPLACE VALUES/EDIT AS REQUIRED
-#####
-
-nameOverride: ""
-
frontend:
+ enabled: true
name: frontend
podAnnotations: {}
deploymentAnnotations:
@@ -13,17 +7,18 @@ frontend:
replicaCount: 2
image:
repository: infisical/frontend
- pullPolicy: Always
tag: "latest"
+ pullPolicy: Always
kubeSecretRef: managed-secret-frontend
service:
- # type of the frontend service
- type: ClusterIP
- # define the nodePort if service type is NodePort
- # nodePort:
annotations: {}
+ type: ClusterIP
+ nodePort: ""
+
+frontendEnvironmentVariables: null
backend:
+ enabled: true
name: backend
podAnnotations: {}
deploymentAnnotations:
@@ -31,63 +26,46 @@ backend:
replicaCount: 2
image:
repository: infisical/backend
- pullPolicy: Always
tag: "latest"
+ pullPolicy: Always
kubeSecretRef: managed-backend-secret
service:
annotations: {}
+ type: ClusterIP
+ nodePort: ""
+backendEnvironmentVariables: null
+
+## Mongo DB persistence
mongodb:
- name: mongodb
- podAnnotations: {}
- image:
- repository: mongo
- pullPolicy: IfNotPresent
- tag: "latest"
- service:
- annotations: {}
+ enabled: true
+ persistence:
+ enabled: false
-# By default the backend will be connected to a Mongo instance in the cluster.
-# However, it is recommended to add a managed document DB connection string because the DB instance in the cluster does not have persistence yet ( data will be deleted on next deploy).
-# Learn about connection string type here https://www.mongodb.com/docs/manual/reference/connection-string/
-mongodbConnection: {}
- # externalMongoDBConnectionString: <>
+## By default the backend will be connected to a Mongo instance within the cluster
+## However, it is recommended to add a managed document DB connection string for production-use (DBaaS)
+## Learn about connection string type here https://www.mongodb.com/docs/manual/reference/connection-string/
+## e.g. "mongodb://
- Open-source, E2EE, simple tool to manage secrets and configs across your team and infrastructure. Open-source, end-to-end encrypted tool to manage secrets and configs across your team, devices, and infrastructure.
-
-**Read this in other languages**: [Your MFA code is below — enter it where you started signing in to Infisical.
+The MFA code will be valid for 2 minutes.
+Not you? Contact Infisical or your administrator immediately.
+ + + \ No newline at end of file diff --git a/backend/src/templates/emailVerification.handlebars b/backend/src/templates/emailVerification.handlebars index e6e5a925a..fc738d202 100644 --- a/backend/src/templates/emailVerification.handlebars +++ b/backend/src/templates/emailVerification.handlebars @@ -1,14 +1,17 @@ + -Your confirmation code is below — enter it in the browser window where you've started signing up for Infisical.
Questions about setting up Infisical? Email us at support@infisical.com
+ \ No newline at end of file diff --git a/backend/src/templates/newDevice.handlebars b/backend/src/templates/newDevice.handlebars new file mode 100644 index 000000000..654bb1ba3 --- /dev/null +++ b/backend/src/templates/newDevice.handlebars @@ -0,0 +1,19 @@ + + + + + + +We're verifying a recent login for {{email}}:
+Timestamp: {{timestamp}}
+IP address: {{ip}}
+User agent: {{userAgent}}
+If you believe that this login is suspicious, please contact Infisical or reset your password immediately.
+ + + \ No newline at end of file diff --git a/backend/src/types/secret/index.d.ts b/backend/src/types/secret/index.d.ts index 177df8c0f..257038f60 100644 --- a/backend/src/types/secret/index.d.ts +++ b/backend/src/types/secret/index.d.ts @@ -1,5 +1,7 @@ +import { Types } from 'mongoose'; import { Assign, Omit } from 'utility-types'; import { ISecret } from '../../models'; +import { mongo } from 'mongoose'; // Everything is required, except the omitted types export type CreateSecretRequestBody = Omit