From 08c54a910fa25cc6b6a7ea5584967729ba736d71 Mon Sep 17 00:00:00 2001
From: Samantha
Date: Sun, 22 Jan 2023 01:42:25 -0600
Subject: [PATCH 01/20] Adding Spanish translation to the README
---
i18n/README.es.md | 346 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 346 insertions(+)
create mode 100644 i18n/README.es.md
diff --git a/i18n/README.es.md b/i18n/README.es.md
new file mode 100644
index 000000000..0139bdd65
--- /dev/null
+++ b/i18n/README.es.md
@@ -0,0 +1,346 @@
+
+
+
+
+
+
Herramienta simple de código abierto cifrado de extremo a extremo (E2EE) para gestionar secretos y configuraciones dentro de su equipo e infraestructura.
+
+
+
+
+
+
+
+
+**[Infisical](https://infisical.com)** es una herramienta de código abierto que busca ayudar a equipos a gestionar y sincronizar secretos y configuraciones dentro de su flujo de trabajo e infraestructura. Está diseñada para ser simple y solo tomar minutos para implementar.
+
+- **[Tablero fácil de usar](https://infisical.com/docs/getting-started/dashboard/project)** para gestionar los secretos y configuraciones de su equipo dentro de proyectos
+- **[Infraestructura de lenguaje común (CLI) independiente del lenguaje](https://infisical.com/docs/cli/overview)** que extrae e inyecta secretos y configuraciones a su flujo de trabajo local
+- **[Control total sobre sus datos:](https://infisical.com/docs/self-hosting/overview)** alójelos en cualquier infraestructura
+- **Navega múltiples entornos** por proyecto (ej. Desarrollo, evaluación, producción, etc.)
+- **Mando manual** para secretos y configuraciones
+- **[Integraciones](https://infisical.com/docs/integrations/overview)** con CI/CD e infraestructura de producción
+- **[API de Infisical:](https://infisical.com/docs/api-reference/overview/introduction)** administra secretos a través de solicitudes HTTPS a la plataforma
+- **[Control de versiones ](https://infisical.com/docs/getting-started/dashboard/versioning)** para ver el historial de cambios de cualquier secreto
+- **[Registros de actividad](https://infisical.com/docs/getting-started/dashboard/audit-logs)** para documentar cada acción tomada en el proyecto
+- **[Recuperación de secretos en el momento](https://infisical.com/docs/getting-started/dashboard/pit-recovery)** para retroceder a cualquier instancia de alguno
+- 🔜 **Implementación de 1 clic** para Digital Ocean y Heroku
+- 🔜 **Autenticación/Autorización** para proyectos (controles de lectura/escritura próximamente)
+- 🔜 **Rotación automática de secretos**
+- 🔜 **Autenticación de dos factores**
+- 🔜 **Integraciones con Slack y MS Teams**
+
+Y más.
+
+## 🚀 Para empezar
+
+Para empezar rápidamente visita nuestra [guía de inicio](https://infisical.com/docs/getting-started/introduction).
+
+
+
+
+
+
+
+## 🔥 ¿En qué es bueno?
+
+Infisical hace la gestión de secretos simple y está cifrada de extremo a extremo de manera predeterminada. Tenemos la misión de hacerla más accesible a todos los desarrolladores, no solo los equipos de seguridad.
+
+Según un [reporte](https://www.ekransystem.com/en/blog/secrets-management), solo el 10% de las organizaciones utilizan soluciones para gestionar secretos a pesar de que todas usan secretos digitales en cierta medida.
+
+Si está interesado en la eficiencia y la seguridad, Infisical es para ti.
+
+Actualmente estamos trabajando duro para hacer Infisical más extenso. ¿Necesitas una integración o quieres una nueva función? Siente libre de [crear un issue](https://github.com/Infisical/infisical/issues) o [contribuir](https://infisical.com/docs/contributing/overview) directamente al repositorio.
+
+## 🌱 Contribuir
+
+Sea de manera pequeña o grande, nos encantan las contribuciones ❤️ Cheque nuestra guía de [cómo empezar](https://infisical.com/docs/contributing/overview).
+
+¿No está seguro de dónde empezar? Usted puede:
+
+- ¡[Agendar una sesión gratis, sin presión con uno de nuestros integrantes](mailto:tony@infisical.com?subject=Pairing%20session&body=I'd%20like%20to%20do%20a%20pairing%20session!)! (inglés)
+- Unesé a nuestro Slack y preguntenos ahí (inglés)
+
+## 💚 Soporte y comunidad
+
+- [Slack](https://join.slack.com/t/infisical-users/shared_invite/zt-1kdbk07ro-RtoyEt_9E~fyzGo_xQYP6g) (Para discusiones en vivo con la comunidad y el equipo de Infisical)
+- [GitHub Discussions](https://github.com/Infisical/infisical/discussions) (Para ayudar en construir y profundizar conversaciones acerca de funciones)
+- [GitHub Issues](https://github.com/Infisical/infisical-cli/issues) (Para cualquier bug o error que encuentre usando Infisical)
+- [Twitter](https://twitter.com/infisical) (Obtén las noticias rápidamente)
+
+## 🐥 Estatus
+
+- [x] Alpha público: Cualquiera puede registrarse en [infisical.com](https://infisical.com) pero ténganos paciencia, hay problemas y apenas estamos comenzando.
+- [ ] Beta público: Suficientemente estable para la mayoría de los casos de uso no empresariales.
+- [ ] Público: Listo para producción.
+
+Estamos actualmente en Alpha público.
+
+## 🔌 Integraciones
+
+Actualmente estamos sentando bases y construyendo [integraciones](https://infisical.com/docs/integrations/overview) para que los secretos se puedan sincronizar en todas partes. ¡Cualquier ayuda es bienvenida! :)
+
+
+
+ | Plataformas |
+ Marcos |
+
+
+
+
+
+
+
+ |
+
+ ✔️ Docker
+
+ |
+
+
+ ✔️ Docker Compose
+
+ |
+
+
+ ✔️ Heroku
+
+ |
+
+
+ |
+
+ ✔️ Vercel
+
+ |
+
+
+ ✔️ Kubernetes
+
+ |
+
+ 🔜 Fly.io
+ |
+
+
+ |
+ 🔜 AWS
+ |
+
+
+ ✔️ GitHub Actions
+
+ |
+
+ 🔜 Railway
+ |
+
+
+ |
+ 🔜 GCP
+ |
+
+ 🔜 GitLab CI/CD (https://github.com/Infisical/infisical/issues/134)
+ |
+
+ 🔜 CircleCI (https://github.com/Infisical/infisical/issues/91)
+ |
+
+
+ |
+ 🔜 Jenkins
+ |
+
+ 🔜 Digital Ocean
+ |
+
+ 🔜 Azure
+ |
+
+
+ |
+ 🔜 TravisCI
+ |
+
+
+ ✔️ Netlify
+
+ |
+
+ 🔜 Railway
+ |
+
+
+ |
+ 🔜 Bitbucket
+ |
+
+ 🔜 Supabase
+ |
+
+ 🔜 Render (https://github.com/Infisical/infisical/issues/132)
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+## 🏘 Código abierto vs pagado
+
+Este repositorio es enteramente licenciado con MIT, con la excepción del directorio `ee` que contendrá funciones empresariales premium que requerirán una licencia de Infisical en el futuro. Actualmente estamos enfocados en desarrollar primero ofertas no empresariales que deberían adaptarse a la mayoría de los casos de uso.
+
+## 🛡 Seguridad
+
+¿Quiere reportar alguna vulnerabilidad en seguridad? Por favor, no lo publique en Github issues. En su lugar consulte nuestro archivo de [SECURITY.md](./SECURITY.md).
+
+## 🚨 Manténgase al tanto
+
+Infisical se lanzó oficialmente como v.1.0 el 21 de noviembre de 2022. Hay muchas funciones nuevas que llegan con mucha frecuencia. Mire los **lanzamientos** de este repositorio para recibir notificaciones sobre futuras actualizaciones:
+
+
+
+## 🦸 Contribuyentes
+
+[//]: contributor-faces
+
+
+
+
+
+
+
+## 🌎 Traducciones
+
+Infisical está actualmente disponible en inglés, coreano, francés y portugués (Brasil). ¡Ayúdanos a traducir Infisical a tu idioma!
+
+Puedes encontrar toda la información en [este issue](https://github.com/Infisical/infisical/issues/181).
\ No newline at end of file
From ddf8ceb45daeb61e4b18550d2d7bd972bc5f6c5c Mon Sep 17 00:00:00 2001
From: kmlgkcy
Date: Thu, 26 Jan 2023 10:46:47 +0300
Subject: [PATCH 02/20] translation: Turkish
---
frontend/public/locales/tr/activity.json | 11 +
frontend/public/locales/tr/billing.json | 28 ++
frontend/public/locales/tr/common.json | 34 ++
frontend/public/locales/tr/dashboard.json | 35 ++
frontend/public/locales/tr/integrations.json | 16 +
frontend/public/locales/tr/login.json | 10 +
frontend/public/locales/tr/nav.json | 22 ++
.../public/locales/tr/section-api-key.json | 13 +
.../public/locales/tr/section-incident.json | 11 +
.../public/locales/tr/section-members.json | 14 +
.../public/locales/tr/section-password.json | 11 +
frontend/public/locales/tr/section-token.json | 13 +
.../public/locales/tr/settings-members.json | 4 +
frontend/public/locales/tr/settings-org.json | 4 +
.../public/locales/tr/settings-personal.json | 16 +
.../public/locales/tr/settings-project.json | 13 +
frontend/public/locales/tr/signup.json | 28 ++
i18n/README.tr.md | 335 ++++++++++++++++++
18 files changed, 618 insertions(+)
create mode 100644 frontend/public/locales/tr/activity.json
create mode 100644 frontend/public/locales/tr/billing.json
create mode 100644 frontend/public/locales/tr/common.json
create mode 100644 frontend/public/locales/tr/dashboard.json
create mode 100644 frontend/public/locales/tr/integrations.json
create mode 100644 frontend/public/locales/tr/login.json
create mode 100644 frontend/public/locales/tr/nav.json
create mode 100644 frontend/public/locales/tr/section-api-key.json
create mode 100644 frontend/public/locales/tr/section-incident.json
create mode 100644 frontend/public/locales/tr/section-members.json
create mode 100644 frontend/public/locales/tr/section-password.json
create mode 100644 frontend/public/locales/tr/section-token.json
create mode 100644 frontend/public/locales/tr/settings-members.json
create mode 100644 frontend/public/locales/tr/settings-org.json
create mode 100644 frontend/public/locales/tr/settings-personal.json
create mode 100644 frontend/public/locales/tr/settings-project.json
create mode 100644 frontend/public/locales/tr/signup.json
create mode 100644 i18n/README.tr.md
diff --git a/frontend/public/locales/tr/activity.json b/frontend/public/locales/tr/activity.json
new file mode 100644
index 000000000..80ac8f90d
--- /dev/null
+++ b/frontend/public/locales/tr/activity.json
@@ -0,0 +1,11 @@
+{
+ "title": "Aktivite Günlükleri",
+ "subtitle": "Bu Infisical projesi için Olay Geçmişi.",
+ "event": {
+ "readSecrets": "Sırlar Görüntülendi",
+ "updateSecrets": "Sırlar Güncellendi",
+ "addSecrets": "Sırlar Eklendi",
+ "deleteSecrets": "Sırlar Silindi"
+ },
+ "ip-address": "IP Addresi"
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/billing.json b/frontend/public/locales/tr/billing.json
new file mode 100644
index 000000000..d27ddc976
--- /dev/null
+++ b/frontend/public/locales/tr/billing.json
@@ -0,0 +1,28 @@
+{
+ "title": "Planlar & Fiyatlandırma",
+ "description": "Kuruluşunuzun aboneliğini buradan görüntüleyin ve yönetin",
+ "subscription": "Abonelik",
+ "starter": {
+ "name": "Başlangıç",
+ "price-explanation": "5 takım üyesine kadar",
+ "text": "5 kişiyle herhangi bir projeyi ücretsiz yönet!",
+ "subtext": "Sonrasında aylık her üye başına 5$."
+ },
+ "professional": {
+ "name": "Profesyonel",
+ "price-explanation": "/üye/ay",
+ "subtext": "Sınırsız miktarda üye ve proje dahildir.",
+ "text": "Anahtar yönetimine siz büyüdükçe ayak uydurun.."
+ },
+ "enterprise": {
+ "name": "Kurumsal",
+ "text": "Anahtar yönetimine siz büyüdükçe ayak uydurun."
+ },
+ "current-usage": "Mevcut Plan",
+ "free": "Ücretsiz",
+ "downgrade": "Düşürün",
+ "upgrade": "Yükseltin",
+ "learn-more": "Daha fazlasını öğrenim",
+ "custom-pricing": "Özel Fiyatlandırma",
+ "schedule-demo": "Bir Deneme Sürümü Planlayın "
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/common.json b/frontend/public/locales/tr/common.json
new file mode 100644
index 000000000..38d54b476
--- /dev/null
+++ b/frontend/public/locales/tr/common.json
@@ -0,0 +1,34 @@
+{
+ "head-title": "{{title}} | Infisical",
+ "error_project-already-exists": "Bu isimle bir proje zaten mevcut.",
+ "no-mobile": " Infisical'ı kullanmak için, lütfen daha büyük boyutlara sahip bir cihaz üzerinden giriş yapın. ",
+ "email": "Email",
+ "password": "Şifre",
+ "first-name": "Adınız",
+ "last-name": "Soyadınız",
+ "logout": "Çıkış Yap",
+ "validate-required": "Lütfen girin, sahip olduğunuz {{name}}",
+ "maintenance-alert": "Ufak teknik problemler yaşıyoruz. Sorunu çözmek üzere çalışıyoruz. Lütfen birkaç dakika içerisinde yeniden deneyin.",
+ "click-to-copy": "Kopyala",
+ "project-id": "Project ID",
+ "save-changes": "Değişiklikleri Kaydet",
+ "saved": "Kaydedildi",
+ "drop-zone": ".env yada .yaml dosyasını buraya sürükleyin",
+ "drop-zone-keys": "Daha çok anahatar eklemek için bir .env yada .yaml dosyasını sürükleyin.",
+ "role": "Rol",
+ "role_admin": "yönetici",
+ "display-name": "Ekran Adı",
+ "environment": "Environment",
+ "expired-in": "Süresi geçicek",
+ "language": "Dil",
+ "search": "Ara...",
+ "note": "Not",
+ "view-more": "Daha Fazla Göster",
+ "end-of-history": "Geçmişin Sonu",
+ "select-event": "Bir olay seçin",
+ "event": "Olay",
+ "user": "Kullanıcı",
+ "source": "Kaynak",
+ "time": "Zaman",
+ "timestamp": "Zaman Damgası"
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/dashboard.json b/frontend/public/locales/tr/dashboard.json
new file mode 100644
index 000000000..c480ba18b
--- /dev/null
+++ b/frontend/public/locales/tr/dashboard.json
@@ -0,0 +1,35 @@
+{
+ "title": "Sırlar",
+ "og-title": "Saniyeler içerisinde .env dosyalarınızı yönetin",
+ "og-description": "Infisical takımların .env dosyalarını senkronize etmelerini ve yönetmelerini sağlayan uçtan uca şifrelenmiş basit bir platformdur",
+ "search-keys": "Anahtarları ara...",
+ "add-key": "Anahtar Ekle",
+ "personal": "Kişisel",
+ "personal-description": "Kişisel anahtarlar sadece sana görünür",
+ "shared": "Paylaşılan",
+ "shared-description": "Paylaşılan anahatarlar tüm takımına görünür",
+ "make-shared": "Paylaşılan Yap",
+ "make-personal": "Kişisel Yap",
+ "add-secret": "Yeni bir sır ekle",
+ "check-docs": {
+ "button": "Dokümanları Kontrol Et",
+ "title": "İyi iş!",
+ "line1": "Tebrikler, yeni anahtarlar eklediniz.",
+ "line2": "Bunları kendi Codebase' inize nasıl bağlarsınız, işte böyle."
+ },
+ "sidebar": {
+ "secret": "Sır",
+ "key": "Anahtar",
+ "value": "Değer",
+ "override": "Bu değerin üzerine bir kişisel değer yazın ",
+ "version-history": "Versiyon Geçmişi",
+ "comments": "Yorumlar & Notlar",
+ "personal-explanation": "Bu bir kişisel sır. Herhangi bir takım üyesi ile paylaşılmaz.",
+ "generate-random-hex": "Rastegele hex oluştur",
+ "digits": "basamak",
+ "delete-key-dialog": {
+ "title": "Anahtarı Sil",
+ "confirm-delete-message": "Bu sırrı silmek istediğinden emin misin? Bu işlem geri alınamaz."
+ }
+ }
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/integrations.json b/frontend/public/locales/tr/integrations.json
new file mode 100644
index 000000000..b8fe599f4
--- /dev/null
+++ b/frontend/public/locales/tr/integrations.json
@@ -0,0 +1,16 @@
+{
+ "title": "Proje Entegrasyonları",
+ "description": "Infisical'ın üçüncü taraf hizmetlerle olan entegrasyonlarınızı yönetin.",
+ "no-integrations1": "Henüz ayarlanmış bir entegrasyonunuz yok. Oluşturduğunuz zaman, burada görünecekler.",
+ "no-integrations2": "Başlamak için aşağıdaki seçeneklerden herhangi birine tıklayın. Sadece 5 tıklama ile kurulumu halledin.",
+ "available": "Platform & Cloud Entegrasyonları",
+ "available-text1": "Bağlanmak istediğiniz entegrasyona tıklayın. Bu, ortam değişkenlerinizin seçilen üçüncü taraf hizmetlere otomatik olarak akmasını sağlar.",
+ "available-text2": "Not: Heroku ile entegrasyon sırasında güvenlik nedenleriyle uçtan uca şifrelemenin sürdürülmesi mümkün değildir. Teorik olarak bu, Infisical'ın ortam değişkenlerinin şifresini çözmesine izin verir. Pratikte biz bunun asla yapılmayacağının garantisini verebiliriz ve bu durum sırlarınızı çevrimiçi kötü niyetlilerden korumamıza olanak tanır. Çekirdek Infisical hizmeti her zaman uçtan uca şifreli kalacaktır. Sorularınız için support@infisical.com adresine ulaşın.",
+ "cloud-integrations": "Cloud Entegrasyonları",
+ "framework-integrations": "Framework Entegrasyonları",
+ "click-to-start": "Sırlarınızı senkronize etmeye başlamak için bir entegrasyona tıklayın.",
+ "click-to-setup": "Kurulum talimatlarını almak için bir frameworke tıklayın.",
+ "grant-access-to-secrets": "Infisical'a sırlarınıza erişim izni verin",
+ "why-infisical-needs-access": "Çoğu cloud entegrasyonu, Infisical'ın sırlarınızı aktarabilmek için sırlarınızı deşifre etmesini gerektirir.",
+ "grant-access-button": "Erişim izni ver"
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/login.json b/frontend/public/locales/tr/login.json
new file mode 100644
index 000000000..f42551188
--- /dev/null
+++ b/frontend/public/locales/tr/login.json
@@ -0,0 +1,10 @@
+{
+ "title": "Giriş Yap",
+ "og-title": "Infisical'a Giriş Yap",
+ "og-description": "Infisical ekiplerin .env dosyalarını senkronize etmelerini ve yönetmelerini sağlayan uçtan uca şifrelenmiş basit bir platformdur",
+ "login": "Giriş Yap",
+ "need-account": "Bir Infisical hesabına mı ihtiyacınız var?",
+ "create-account": "Hesap oluşturun",
+ "forgot-password": "Şifrenizi mi unuttunuz?",
+ "error-login": "Kimlik bilgileri yanlış."
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/nav.json b/frontend/public/locales/tr/nav.json
new file mode 100644
index 000000000..aa6ea2df4
--- /dev/null
+++ b/frontend/public/locales/tr/nav.json
@@ -0,0 +1,22 @@
+{
+ "support": {
+ "slack": "[YENİ] Slack Foruma katılın",
+ "docs": "Dokümanları okuyun",
+ "issue": "Bir Github Issue açın",
+ "email": "Bize mail yollayın"
+ },
+ "user": {
+ "signed-in-as": "ŞU HESABA GİRİŞ YAPILDI",
+ "current-organization": "MEVZUT ORGANİZASYON",
+ "usage-billing": "Plan & Fiyatlandırma",
+ "invite": "Üyeleri Davet Et",
+ "other-organizations": "DİĞER ORGANİZASYONLAR"
+ },
+ "menu": {
+ "project": "PROJE",
+ "secrets": "Sırlar",
+ "members": "Üyeler",
+ "integrations": "Entegrasyonlar",
+ "project-settings": "Proje Ayarları"
+ }
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/section-api-key.json b/frontend/public/locales/tr/section-api-key.json
new file mode 100644
index 000000000..0c768ded6
--- /dev/null
+++ b/frontend/public/locales/tr/section-api-key.json
@@ -0,0 +1,13 @@
+{
+ "api-keys": "Servis Belirteçleri",
+ "api-keys-description": "Her servis belirteci size, belirli bir projeye ve o proje içindeki belirli bir ortama özeldir.",
+ "add-new": "Yeni Belirteç Ekleyin",
+ "add-dialog": {
+ "title": "Bir API Anahtarı Ekleyin",
+ "description": "Adını ve son kullanma süresini belirleyin. Bir API anahtarı oluşturulduğunda, kaybolmadan önce yalnızca bir kez görebileceksiniz. Bir yere kaydettiğinizden emin olun.",
+ "name": "API Anahtarı Adı",
+ "add": "API Anahtarı Ekleyin",
+ "copy-service-token": "API Anahtarızı kopyalayın",
+ "copy-service-token-description": "Bu açılır pencereyi kapattığınızda, API anahtarınızı bir daha asla görmeyeceksiniz"
+ }
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/section-incident.json b/frontend/public/locales/tr/section-incident.json
new file mode 100644
index 000000000..776c71c63
--- /dev/null
+++ b/frontend/public/locales/tr/section-incident.json
@@ -0,0 +1,11 @@
+{
+ "incident-contacts": "Özel Durum İletişim Adresleri",
+ "incident-contacts-description": "Bu adresler olası olmayan ciddi bir olay durumunda bilgilendirilecek.",
+ "no-incident-contacts": "Hiçbir Özel Durum İletişim Adresi bulunamadı.",
+ "add-contact": "İletişim Adresi Ekle",
+ "add-dialog": {
+ "title": "Bir Özel Durum İletişim Adresi Ekleyin",
+ "description": "Bu kişi, olası olmayan ciddi bir olay durumunda bilgilendirilecektir..",
+ "add-incident": "Özel Durum İletişim Adresi Ekle"
+ }
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/section-members.json b/frontend/public/locales/tr/section-members.json
new file mode 100644
index 000000000..b4a0c0ec7
--- /dev/null
+++ b/frontend/public/locales/tr/section-members.json
@@ -0,0 +1,14 @@
+{
+ "add-member": "Üye Ekle",
+ "org-members": "Kuruluş Üyeleri",
+ "org-members-description": "Kuruluşunuzun üyelerini yönetin. Bu kullanıcılar daha sonra projelere yönlendirilebilir..",
+ "search-members": "Üyeleri arayın...",
+ "add-dialog": {
+ "add-member-to-project": "Projenize bir üye ekleyin",
+ "already-all-invited": "Kuruluşunuzdaki tüm kullanıcılar zaten davet edildi.",
+ "add-user-org-first": "Önce kuruluşa daha fazla kullanıcı ekleyin.",
+ "user-will-email": "Kullanıcı, talimatları içeren bir e-posta alacak.",
+ "looking-add": "<0>Kuruluşunuza kullanıcı eklemek istiyorsanız,0><1>buraya tıklayın1>",
+ "add-user-to-org": "Kuruluşa Kullanıcı Ekleyin"
+ }
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/section-password.json b/frontend/public/locales/tr/section-password.json
new file mode 100644
index 000000000..07e26ba58
--- /dev/null
+++ b/frontend/public/locales/tr/section-password.json
@@ -0,0 +1,11 @@
+{
+ "password": "Şifre",
+ "change": "Şifreyi değiştir",
+ "current": "Mevcut şifre",
+ "current-wrong": "Mevcut şifre yanlış olabilir",
+ "new": "Yeni şifre",
+ "validate-base": "Şifre en az şunları içermelidir:",
+ "validate-length": "14 karakter",
+ "validate-case": "1 küçük harf",
+ "validate-number": "1 rakam"
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/section-token.json b/frontend/public/locales/tr/section-token.json
new file mode 100644
index 000000000..aceaba6dd
--- /dev/null
+++ b/frontend/public/locales/tr/section-token.json
@@ -0,0 +1,13 @@
+{
+ "service-tokens": "Servis Belirteçleri",
+ "service-tokens-description": "Her servis belirteci size, belirli bir projeye ve o proje içindeki belirli bir ortama özeldir.",
+ "add-new": "Yeni Belirteç Ekle",
+ "add-dialog": {
+ "title": "{{target}} için bir servis belirteci ekleyin",
+ "description": "Adı, ortamı ve son kullanma süresini belirtin. Bir belirteç oluşturulduğunda, onu kaybolmadan önce yalnızca bir kez görebileceksiniz. Bir yere kaydettiğinizden emin olun.",
+ "name": "Servis Belirteci Adı",
+ "add": "Servis Belirteci Ekle",
+ "copy-service-token": "Service belirtecinizi kopyalayın",
+ "copy-service-token-description": "Bu açılır pencereyi kapattığınızda, servis belirtecinizi bir daha asla göremeyeceksiniz"
+ }
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/settings-members.json b/frontend/public/locales/tr/settings-members.json
new file mode 100644
index 000000000..c4a7441b7
--- /dev/null
+++ b/frontend/public/locales/tr/settings-members.json
@@ -0,0 +1,4 @@
+{
+ "title": "Proje Üyeleri",
+ "description": "Bu sayfa seçilen projenin üyelerini gösterir."
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/settings-org.json b/frontend/public/locales/tr/settings-org.json
new file mode 100644
index 000000000..3cc5c0d82
--- /dev/null
+++ b/frontend/public/locales/tr/settings-org.json
@@ -0,0 +1,4 @@
+{
+ "title": "Kuruluş Ayarları",
+ "description": "Kuruluşunuzun üyelerini yönetin. Bu kullanıcılar daha sonra projelere yönlendirilebilir.."
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/settings-personal.json b/frontend/public/locales/tr/settings-personal.json
new file mode 100644
index 000000000..31c858efb
--- /dev/null
+++ b/frontend/public/locales/tr/settings-personal.json
@@ -0,0 +1,16 @@
+{
+ "title": "Kişisel Ayarlar",
+ "description": "Kişisel bilgilerinizi burada görüntüleyin ve yönetin.",
+ "emergency": {
+ "name": "Acil Durum Kiti",
+ "text1": "Acil Durum Kitiniz, Infisical hesabınızda oturum açmak için ihtiyaç duyacağınız bilgileri içerir.",
+ "text2": "Yalnızca en son yayınlanan Acil Durum Kiti geçerliliğini korur. Yeni bir Acil Durum Kiti almak için parolanızı doğrulayın.",
+ "download": "Acil Durum Kitini İndir"
+ },
+ "change-language": "Dili Değiştir",
+ "api-keys": {
+ "title": "API Anahtarları",
+ "description": "Infisical API'ye erişmek için kişisel API Anahtarlarınızı yönetin",
+ "add-new": "Ekle yeni"
+ }
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/settings-project.json b/frontend/public/locales/tr/settings-project.json
new file mode 100644
index 000000000..41f9f3001
--- /dev/null
+++ b/frontend/public/locales/tr/settings-project.json
@@ -0,0 +1,13 @@
+{
+ "title": "Proje Ayarları",
+ "description": "Bu ayarlar yalnızca mevcut seçili projeye uygulanacak.",
+ "danger-zone": "Tehlikeli Bölge",
+ "delete-project": "Projeyi Sil",
+ "project-to-delete": "Silinmek Üzere Olan Proje",
+ "danger-zone-note": "Bu projeyi sildiğiniz anda geri alamayacaksınız. Bu, tüm anahtarları hemen kaldıracaktır. Bunu hala yapmak istiyorsanız, lütfen aşağıya projenin adını girin.",
+ "delete-project-note": "Not: Yalnızca birden fazla projeniz olması durumunda, bir projeyi silebilirsiniz.",
+ "project-id-description": "Infisical'ı kod tabanınıza entegre etmek ve çevresel değişkenlerin otomatik enjeksiyonunu almak için aşağıdaki Proje Kimliğini kullanmalısınız.",
+ "project-id-description2": "Çeşitli diller ve çerçeveler için kod parçaları da dahil olmak üzere daha fazla rehberlik için bkz.",
+ "auto-generated": "Bu, projenizin otomatik olarak oluşturulan benzersiz tanımlayıcısıdır. Değiştirilemez..",
+ "docs": "Infisical Dokümanları"
+}
\ No newline at end of file
diff --git a/frontend/public/locales/tr/signup.json b/frontend/public/locales/tr/signup.json
new file mode 100644
index 000000000..4a0778335
--- /dev/null
+++ b/frontend/public/locales/tr/signup.json
@@ -0,0 +1,28 @@
+{
+ "title": "Kayıt olun",
+ "og-title": "Tek satır kodla .env dosyalarını değiştirin. 3 dakika içerinde Infisical'a kayıt olun.",
+ "og-description": "Infisical takımların API anahtarlarını ve ortam değişkenlerini yönetmelerini ve senkronize etmelerini sağlayan basit, uçtan uca şifrelenmiş bir platformdur. Node.js, Next.js, Gatsby, Nest.js ve daha fazlası ile çalışır.",
+ "signup": "Kayıt ol",
+ "already-have-account": "Hesabın var mı? Giriş yap",
+ "forgot-password": "Şifreni mi unuttun?",
+ "verify": "Doğrula",
+ "step1-start": "Hadi başlayalım",
+ "step1-privacy": "Hesap oluşturarak, Şartlarımızı ve Gizlilik Politikasını okuyup kabul etmiş olursunuz.",
+ "step1-submit": "Başla",
+ "step2-message": "Şu adrese bir doğrulama maili yolladık",
+ "step2-code-error": "Tüh. Kodun hatalı. Lütfen tekrar dene.",
+ "step2-resend-alert": "Mail ulaşamadı mı?",
+ "step2-resend-submit": "Tekrar Yolla",
+ "step2-resend-progress": "Tekrar yollanıyor...",
+ "step2-spam-alert": "Spam kutunuzu kontrol ettiğinizden emin olun.",
+ "step3-message": "Çok az kaldı!",
+ "step4-message": "Acil Durum Kitinizi kayıt edin",
+ "step4-description1": "Eğer hesabınıza erişemezseniz, Acil Durum Kitiniz giriş yapmanın tek yoludur.",
+ "step4-description2": "Bunu indirmenizi ve güvenli bir ortamda saklamanızı öneriyoruz.",
+ "step4-description3": "Kaybetmeniz durumunda bizim dahi erişemeyeceğimiz veya kurtaramayacağımız Gizli Anahtarınızı barındırır.",
+ "step4-download": "PDF'yi indir",
+ "step5-send-invites": "Davetleri yolla",
+ "step5-invite-team": "Takımını davet et",
+ "step5-subtitle": "Infisical takım arkadaşlarınız ile kullanılmak üzere yapılmıştır. Birlikte test etmek için onları davet edin.",
+ "step5-skip": "Atla"
+}
\ No newline at end of file
diff --git a/i18n/README.tr.md b/i18n/README.tr.md
new file mode 100644
index 000000000..24daa8fc8
--- /dev/null
+++ b/i18n/README.tr.md
@@ -0,0 +1,335 @@
+
+
+
+
+
+
Açık kaynak kodlu, uçtan uca şifrelenmiş(E2EE), ekibiniz ile altyapınız arasında ortam değişkenlerini yönetmeniz ve senkronize etmeniz için basit bir araç.
+
+
+
+
+
+
+
+
+**[Infisical](https://infisical.com)** takımların geliştirme süreçleri ile altapıları arasında ortam değişkenlerini yönetmelerine ve senkronize etmelerine yardımcı olan açık kaynak kodlu, uçtan uca şifrelenmiş(E2EE) bir araçtır.
+Basit olması için tasarlandı, sadece birkaç dakika içerisinde harekete geçin.
+
+- **[Kullanıcı Dostu Gösterge Paneli](https://infisical.com/docs/getting-started/dashboard/project)** projeler arasında takımınızın ortam değişkenlerini yönetmenize yardımcı olur.
+- **[Dillerden Bağımsız CLI](https://infisical.com/docs/cli/overview)** - ortam değişkenlerini çeker ve yerel iş akışınıza enjekte eder.
+- **[Kontrol Sizde](https://infisical.com/docs/self-hosting/overview)** - herhangi bir altyapıda kendiniz hostlayarak verileriniz üzerinde tam kontrol sağlayın.
+- **Çoklu ortamlar arası gezinin** - herbir proje için ortamlarınız arasında geçiş sağlayın(ör. development, staging, production, vb.)
+- **Kişisel yada Paylaşılabilen** alan - ortam değişkenleriniz için.
+- **[Entegrasyonlar](https://infisical.com/docs/integrations/overview)** - CI/CD production altyapısı ile.
+- **[Infisical API](https://infisical.com/docs/api-reference/overview/introduction)** - HTTPS istekleri ile sırları yönetin.
+- **[Sırlar İçin Versiyon Kontrol](https://infisical.com/docs/getting-started/dashboard/versioning)** - herhangi bir sır için değişiklik geçmişini görüntüleyin.
+- **[Aktivite Günlükleri](https://infisical.com/docs/getting-started/dashboard/audit-logs)** - projedeki tüm değişikleri kayıt altına almak için.
+- **[Anında Geri Yükleme](https://infisical.com/docs/getting-started/dashboard/pit-recovery)** - sırlarınızın herhangi bir snapshotına geri yükleme yapmanız için.
+- 🔜 **Tek tıkla Deploy** edin, Digital Ocean ve Heroku'ya.
+- 🔜 **Kimlik Doğrulama/Yetkilendirme** projeleriniz için okuma/yazma kontrolleri (pek yakında)
+- 🔜 **Otomatik Sır Rotasyonu**
+- 🔜 **2 Faktör Kimlik Doğrulama**
+- 🔜 **Erişim Günlükleri**
+- 🔜 **Slack & MS Teams** entegrasyonları
+
+Ve daha fazlası.
+
+## 🚀 Hadi başlayalım
+
+Hızlıca başlamak için [başlangıç rehberimizi](https://infisical.com/docs/getting-started/introduction) ziyaret edin.
+
+
+
+
+
+
+
+## 🔥 Peki bunun nesi havalı?
+
+Infisical sır yönetimini varsayılan olarak uçtan uca şifreleyerek basitleştirir. Infisical'ı sadece güvenlik takımları için değil tüm geliştiriciler için daha çok erişilebilir hale getirmek üzere görevdeyiz.
+
+2019'daki bir [rapora](https://www.ekransystem.com/en/blog/secrets-management) göre, dijital sırları kullanan kuruluşların sadece %10 kadarı sır yönetim çözümlerini kullanıyor.
+
+Eğer güvenlik ve verimliliğe önem veriyorsanız Infisical tam size göre.
+
+Infisical'ı daha yaygın hale getirmek için sıkı çalışıyoruz. İstediğiniz herhangi bir entegrasyon mu var yada yeni bir özellik mi istiyorsunuz? Lütfen [yeni bir issue oluşturun](https://github.com/Infisical/infisical/issues) yada repositoriye direkt [katkıda bulunun](https://infisical.com/docs/contributing/overview).
+
+## 🌱 Katkılar
+
+Büyük yada küçük farketmeksizin katkılara bayılıyoruz ❤️ Nasıl başlayacağınızı görmek için [başlangıç](https://infisical.com/docs/contributing/overview) rehberimize göz atın.
+
+Nereden başlayacağınızdan emin değil misiniz? O zaman;
+
+- [Ekip arkadaşlarımızdan biriyle ücretsiz, baskı içermeyen bir yönlendirme seansını rezerve edin](mailto:tony@infisical.com?subject=Pairing%20session&body=I'd%20like%20to%20do%20a%20pairing%20session!)!
+- Bizim Slack'imize katılın, ve bize herhangi bir soru sorun.
+
+## 💚 Topluluk & Destek
+
+- [Slack](https://join.slack.com/t/infisical-users/shared_invite/zt-1kdbk07ro-RtoyEt_9E~fyzGo_xQYP6g) (Toplulukla ve Infisical team ile canlı tartışma için)
+- [GitHub Discussions](https://github.com/Infisical/infisical/discussions) (Özellikler hakkında daha derin tartışmalar oluşturma ve geliştirme konusunda yardım için)
+- [GitHub Issues](https://github.com/Infisical/infisical-cli/issues) (Infisical'ı kullanırken karşılaştığınız herhangi bir bug için)
+- [Twitter](https://twitter.com/infisical) (Haberleri kaçırmayın)
+
+## 🐥 Durum
+
+- [x] Public Alpha: Herkes [infisical.com](https://infisical.com) üzerinden katılabilir (ama üzerimize fazla gelmeyin), bazı karmaşalar söz konusu ve biz daha yeni başlıyoruz.
+- [ ] Public Beta: Kurumsal olmayan çoğu kullanım için yeterince kararlı.
+- [ ] Public: Production-ready.
+
+Şuan Public Alpha'dayız.
+
+## 🔌 Entegrasyonlar
+
+Şu anda sırların herhangi bir yerde senkron olabilmesi için [entegrasyonlar](https://infisical.com/docs/integrations/overview) üzerinde sıkı çalışıyoruz. Her türlü yardımı gözlüyoruz! :)
+
+
+
+ | Platforms |
+ Frameworks |
+
+
+
+
+
+
+
+ |
+
+ ✔️ Docker
+
+ |
+
+
+ ✔️ Docker Compose
+
+ |
+
+
+ ✔️ Heroku
+
+ |
+
+
+ |
+
+ ✔️ Vercel
+
+ |
+
+
+ ✔️ Kubernetes
+
+ |
+
+ 🔜 Fly.io
+ |
+
+
+ |
+ 🔜 AWS
+ |
+
+
+ ✔️ GitHub Actions
+
+ |
+
+ 🔜 Railway
+ |
+
+
+ |
+ 🔜 GCP
+ |
+
+ 🔜 GitLab CI/CD (https://github.com/Infisical/infisical/issues/134)
+ |
+
+ 🔜 CircleCI (https://github.com/Infisical/infisical/issues/91)
+ |
+
+
+ |
+ 🔜 Jenkins
+ |
+
+ 🔜 Digital Ocean
+ |
+
+ 🔜 Azure
+ |
+
+
+ |
+ 🔜 TravisCI
+ |
+
+
+ ✔️ Netlify
+
+ |
+
+ 🔜 Railway
+ |
+
+
+ |
+ 🔜 Bitbucket
+ |
+
+ 🔜 Supabase
+ |
+
+ 🔜 Render (https://github.com/Infisical/infisical/issues/132)
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+## 🏘 Açık kaynak mı yoksa ücretlimi
+
+Bu repository premium kurumsal çözümler içeren, gelecekte Infisical lisansı gerektirecek `ee` dizini hariç tamamen MIT lisansı altındadır. Şu anda öncelikli olarak kurumsal olmayan ancak bir çok kullanım senaryosuna çözüm sunacak teklifler üzerine yoğunlaşıyoruz.
+
+## 🛡 Güvenlik
+
+Bir güvenlik açığını bildirmek mi istiyorsunuz? Lütfen Github'da herhangi bir şekilde paylaşmayın. Bunun yerine, [SECURITY.md](./SECURITY.md) dosyamıza yönlendirin.
+
+## 🚨 Güncel kalın
+
+Infisical 21 Kasım 2022 de v.1.0 resmi olarak olarak yayınlandı. Buna rağmen yeni özellikler hızlı bir şekilde gelmekte. Gelecekteki güncellemeler hakkında bilgilenmek için, bu repositorynin **releases** bölümünü takipte kalın:
+
+
+
+## 🦸 Katkıda bulunanlar
+
+[//]: contributor-faces
+
+
+
+
+
+
+
+## 🌎 Çeviriler
+
+Infisical şu anda İngilizce, Korece ve Türkçe dillerinde mevcut. Infisical' ı dilinize çevirmemize yardım edin!
+
+[Bu issue](https://github.com/Infisical/infisical/issues/181)'dan gerekli tüm bilgilere erişebilirsiniz.
From 13acb19e9fcde2e6bfa6cd41474d4cf00d71161a Mon Sep 17 00:00:00 2001
From: Tuan Dang
Date: Fri, 27 Jan 2023 22:07:56 +0700
Subject: [PATCH 03/20] Allow empty values for secrets
---
.../src/controllers/v2/secretsController.ts | 28 ++++++++++---------
backend/src/helpers/database.ts | 5 +++-
backend/src/routes/v2/secrets.ts | 2 +-
3 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/backend/src/controllers/v2/secretsController.ts b/backend/src/controllers/v2/secretsController.ts
index 828a4e8e1..4a5a919fd 100644
--- a/backend/src/controllers/v2/secretsController.ts
+++ b/backend/src/controllers/v2/secretsController.ts
@@ -105,19 +105,21 @@ export const createSecrets = async (req: Request, res: Response) => {
secretValueCiphertext: string;
secretValueIV: string;
secretValueTag: string;
- }) => ({
- version: 1,
- workspace: new Types.ObjectId(workspaceId),
- type,
- user: type === SECRET_PERSONAL ? req.user : undefined,
- environment,
- secretKeyCiphertext,
- secretKeyIV,
- secretKeyTag,
- secretValueCiphertext,
- secretValueIV,
- secretValueTag
- }))
+ }) => {
+ return ({
+ version: 1,
+ workspace: new Types.ObjectId(workspaceId),
+ type,
+ user: type === SECRET_PERSONAL ? req.user : undefined,
+ environment,
+ secretKeyCiphertext,
+ secretKeyIV,
+ secretKeyTag,
+ secretValueCiphertext,
+ secretValueIV,
+ secretValueTag
+ });
+ })
);
setTimeout(async () => {
diff --git a/backend/src/helpers/database.ts b/backend/src/helpers/database.ts
index 1ba3bb911..9ba592ea3 100644
--- a/backend/src/helpers/database.ts
+++ b/backend/src/helpers/database.ts
@@ -1,5 +1,4 @@
import mongoose from 'mongoose';
-import { ISecret, Secret } from '../models';
import { EESecretService } from '../ee/services';
import { getLogger } from '../utils/logger';
@@ -16,6 +15,10 @@ const initDatabaseHelper = async ({
}) => {
try {
await mongoose.connect(mongoURL);
+
+ // allow empty strings to pass the required validator
+ mongoose.Schema.Types.String.checkRequired(v => typeof v === 'string');
+
getLogger("database").info("Database connection established");
await EESecretService.initSecretVersioning();
diff --git a/backend/src/routes/v2/secrets.ts b/backend/src/routes/v2/secrets.ts
index 45a273d35..9fca3039a 100644
--- a/backend/src/routes/v2/secrets.ts
+++ b/backend/src/routes/v2/secrets.ts
@@ -32,7 +32,7 @@ router.post(
!secret.secretKeyCiphertext ||
!secret.secretKeyIV ||
!secret.secretKeyTag ||
- !secret.secretValueCiphertext ||
+ (typeof secret.secretValueCiphertext !== 'string') ||
!secret.secretValueIV ||
!secret.secretValueTag
) {
From a555ef836b663297cdfe822dfa4b6d58d2835cb9 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Fri, 27 Jan 2023 09:32:36 -0800
Subject: [PATCH 04/20] remove default sensitive keys
---
helm-charts/infisical/Chart.yaml | 2 +-
.../templates/backend-deployment.yaml | 2 ++
helm-charts/infisical/values.yaml | 22 ++-----------------
3 files changed, 5 insertions(+), 21 deletions(-)
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml
index 81b7182c0..7205abdaa 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.1.10
+version: 0.1.11
# 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/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml
index 141997a3e..9e97c4707 100644
--- a/helm-charts/infisical/templates/backend-deployment.yaml
+++ b/helm-charts/infisical/templates/backend-deployment.yaml
@@ -33,6 +33,7 @@ spec:
- secretRef:
name: {{ .Values.backend.kubeSecretRef }}
{{- end }}
+ {{- if .Values.backendEnvironmentVariables }}
env:
- name: MONGO_URL
value: {{ include "infisical.mongodb.connectionString" . | quote }}
@@ -43,6 +44,7 @@ spec:
- name: {{ $key }}
value: {{ quote $value }}
{{- end }}
+ {{- end }}
---
apiVersion: v1
diff --git a/helm-charts/infisical/values.yaml b/helm-charts/infisical/values.yaml
index 46c611d88..9ed7ef9dc 100644
--- a/helm-charts/infisical/values.yaml
+++ b/helm-charts/infisical/values.yaml
@@ -83,24 +83,6 @@ ingress:
# hosts:
# - k8.infisical.com
-###
-### YOU MUST FILL IN ALL SECRETS BELOW
-###
-backendEnvironmentVariables:
- # Required keys for platform encryption/decryption ops. Replace with nacl sk keys
- ENCRYPTION_KEY: MUST_REPLACE
-
- # JWT
- # Required secrets to sign JWT tokens
- JWT_SIGNUP_SECRET: MUST_REPLACE
- JWT_REFRESH_SECRET: MUST_REPLACE
- JWT_AUTH_SECRET: MUST_REPLACE
-
- # Mail/SMTP
- # Required to send emails
- SMTP_HOST: MUST_REPLACE
- SMTP_NAME: MUST_REPLACE
- SMTP_USERNAME: MUST_REPLACE
- SMTP_PASSWORD: MUST_REPLACE
-
frontendEnvironmentVariables: {}
+
+backendEnvironmentVariables: {}
From 83aa440b62094010a2a0351270a26b92c48ab8bc Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Fri, 27 Jan 2023 10:43:23 -0800
Subject: [PATCH 05/20] Remove mongo url from envs
---
helm-charts/infisical/Chart.yaml | 2 +-
helm-charts/infisical/templates/backend-deployment.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml
index 7205abdaa..b87379fb5 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.1.11
+version: 0.1.12
# 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/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml
index 9e97c4707..6f4286055 100644
--- a/helm-charts/infisical/templates/backend-deployment.yaml
+++ b/helm-charts/infisical/templates/backend-deployment.yaml
@@ -33,10 +33,10 @@ spec:
- secretRef:
name: {{ .Values.backend.kubeSecretRef }}
{{- end }}
- {{- if .Values.backendEnvironmentVariables }}
env:
- name: MONGO_URL
value: {{ include "infisical.mongodb.connectionString" . | quote }}
+ {{- if .Values.backendEnvironmentVariables }}
{{- range $key, $value := .Values.backendEnvironmentVariables }}
{{- if $value | quote | eq "MUST_REPLACE" }}
{{ fail "Environment variables are not set. Please set all environment variables to continue." }}
From 7b1ff04436286c5baae16cb3f672aa159a72a317 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Fri, 27 Jan 2023 10:45:42 -0800
Subject: [PATCH 06/20] add deployment annotations
---
.github/values.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/values.yaml b/.github/values.yaml
index ffbe86dde..9e52f5dd6 100644
--- a/.github/values.yaml
+++ b/.github/values.yaml
@@ -7,14 +7,15 @@ nameOverride: ""
frontend:
name: frontend
- podAnnotations:
+ podAnnotations: {}
+ deploymentAnnotations:
secrets.infisical.com/auto-reload: "true"
replicaCount: 2
image:
repository: infisical/frontend
pullPolicy: IfNotPresent
tag: "latest"
- kubeSecretRef: managed-secret-frontend
+ kubeSecretRef: managed-secret-frontend
service:
# type of the frontend service
type: ClusterIP
@@ -24,14 +25,15 @@ frontend:
backend:
name: backend
- podAnnotations:
+ podAnnotations: {}
+ deploymentAnnotations:
secrets.infisical.com/auto-reload: "true"
replicaCount: 2
image:
repository: infisical/backend
pullPolicy: IfNotPresent
tag: "latest"
- kubeSecretRef: managed-backend-secret
+ kubeSecretRef: managed-backend-secret
service:
annotations: {}
From c87c2dadd70f2f3fe854f4b7d4b058dba2fc5042 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Fri, 27 Jan 2023 12:31:46 -0800
Subject: [PATCH 07/20] add readinessProbe check for pods
---
helm-charts/infisical/templates/backend-deployment.yaml | 6 ++++++
helm-charts/infisical/templates/frontend-deployment.yaml | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml
index 6f4286055..7a366d390 100644
--- a/helm-charts/infisical/templates/backend-deployment.yaml
+++ b/helm-charts/infisical/templates/backend-deployment.yaml
@@ -26,6 +26,12 @@ spec:
- name: {{ template "infisical.name" . }}-{{ .Values.backend.name }}
image: "{{ .Values.backend.image.repository }}:{{ .Values.backend.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.backend.image.pullPolicy }}
+ readinessProbe:
+ httpGet:
+ path: /api/status
+ port: 4000
+ initialDelaySeconds: 10
+ periodSeconds: 10
ports:
- containerPort: 4000
{{- if .Values.backend.kubeSecretRef }}
diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yaml
index 0527a63dd..d396e5628 100644
--- a/helm-charts/infisical/templates/frontend-deployment.yaml
+++ b/helm-charts/infisical/templates/frontend-deployment.yaml
@@ -26,6 +26,12 @@ spec:
- name: {{ template "infisical.name" . }}-{{ .Values.frontend.name }}
image: "{{ .Values.frontend.image.repository }}:{{ .Values.frontend.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}
+ readinessProbe:
+ httpGet:
+ path: /
+ port: 3000
+ initialDelaySeconds: 10
+ periodSeconds: 10
{{- if .Values.frontend.kubeSecretRef }}
envFrom:
- secretRef:
From b530847edcef9efb450163962ee31149e8180f89 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Fri, 27 Jan 2023 12:34:46 -0800
Subject: [PATCH 08/20] increase chart version
---
helm-charts/infisical/Chart.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml
index b87379fb5..fe65e3b11 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.1.12
+version: 0.1.13
# 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
From c059c088d1d60c2a1c712c07c98161001561475b Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Fri, 27 Jan 2023 12:42:47 -0800
Subject: [PATCH 09/20] update k8 selfhost docs values.yaml file
---
docs/self-hosting/deployments/kubernetes.mdx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/self-hosting/deployments/kubernetes.mdx b/docs/self-hosting/deployments/kubernetes.mdx
index 4a9f45a3a..4fbc16b71 100644
--- a/docs/self-hosting/deployments/kubernetes.mdx
+++ b/docs/self-hosting/deployments/kubernetes.mdx
@@ -35,6 +35,7 @@ nameOverride: ""
frontend:
name: frontend
podAnnotations: {}
+ deploymentAnnotations: {}
replicaCount: 2
image:
repository: infisical/frontend
@@ -51,6 +52,7 @@ frontend:
backend:
name: backend
podAnnotations: {}
+ deploymentAnnotations: {}
replicaCount: 2
image:
repository: infisical/backend
From d5166d343ddb15492f376ae1c5be4427b90c2049 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 09:17:54 -0800
Subject: [PATCH 10/20] Remove depot docker
---
.github/workflows/docker-image.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index b4f9546ae..66a8019cd 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -20,9 +20,9 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Depot CLI
- uses: depot/setup-action@v1
+ uses: docker/setup-action@v3
- name: 📦 Build backend and export to Docker
- uses: depot/build-push-action@v1
+ uses: docker/build-push-action@v3
with:
project: 64mmf0n610
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
@@ -39,7 +39,7 @@ jobs:
run: |
docker compose -f .github/resources/docker-compose.be-test.yml down
- name: 🏗️ Build backend and push
- uses: depot/build-push-action@v1
+ uses: docker/build-push-action@v3
with:
project: 64mmf0n610
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
@@ -67,9 +67,9 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Depot CLI
- uses: depot/setup-action@v1
+ uses: docker/setup-action@v3
- name: 📦 Build frontend and export to Docker
- uses: depot/build-push-action@v1
+ uses: docker/build-push-action@v1
with:
load: true
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
@@ -88,7 +88,7 @@ jobs:
run: |
docker stop infisical-frontend-test
- name: 🏗️ Build frontend and push
- uses: depot/build-push-action@v1
+ uses: docker/build-push-action@v3
with:
project: 64mmf0n610
push: true
From 1b86c58f9127878df53a2ace22f367bc9b82303f Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 09:24:58 -0800
Subject: [PATCH 11/20] remove depot from docker build
---
.github/workflows/docker-image.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 66a8019cd..0fdd03cfe 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -20,7 +20,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Depot CLI
- uses: docker/setup-action@v3
+ uses: depot/setup-action@v1
- name: 📦 Build backend and export to Docker
uses: docker/build-push-action@v3
with:
@@ -67,9 +67,9 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Depot CLI
- uses: docker/setup-action@v3
+ uses: depot/setup-action@v1
- name: 📦 Build frontend and export to Docker
- uses: docker/build-push-action@v1
+ uses: docker/build-push-action@v3
with:
load: true
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
From 0bd9a848c48c5bc580f1ee454f514cb3c559410d Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 09:53:06 -0800
Subject: [PATCH 12/20] add back depot
---
.github/workflows/docker-image.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 0fdd03cfe..b4f9546ae 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -22,7 +22,7 @@ jobs:
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: 📦 Build backend and export to Docker
- uses: docker/build-push-action@v3
+ uses: depot/build-push-action@v1
with:
project: 64mmf0n610
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
@@ -39,7 +39,7 @@ jobs:
run: |
docker compose -f .github/resources/docker-compose.be-test.yml down
- name: 🏗️ Build backend and push
- uses: docker/build-push-action@v3
+ uses: depot/build-push-action@v1
with:
project: 64mmf0n610
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
@@ -69,7 +69,7 @@ jobs:
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: 📦 Build frontend and export to Docker
- uses: docker/build-push-action@v3
+ uses: depot/build-push-action@v1
with:
load: true
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
@@ -88,7 +88,7 @@ jobs:
run: |
docker stop infisical-frontend-test
- name: 🏗️ Build frontend and push
- uses: docker/build-push-action@v3
+ uses: depot/build-push-action@v1
with:
project: 64mmf0n610
push: true
From dd960aa5f045f62a556e67f81bf172372401a465 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 10:04:34 -0800
Subject: [PATCH 13/20] add console.log for post
---
frontend/src/components/analytics/posthog.ts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/frontend/src/components/analytics/posthog.ts b/frontend/src/components/analytics/posthog.ts
index aa6abf463..612289997 100644
--- a/frontend/src/components/analytics/posthog.ts
+++ b/frontend/src/components/analytics/posthog.ts
@@ -5,6 +5,9 @@ import posthog from 'posthog-js';
import { ENV, POSTHOG_API_KEY, POSTHOG_HOST } from '../utilities/config';
export const initPostHog = () => {
+ /* eslint-disable no-console */
+ console.log("Hello World")
+ /* eslint-enable no-console */
try {
if (typeof window !== 'undefined') {
// @ts-ignore
From fdac590a023433113ae21295dbe1abf165fb5500 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 10:25:42 -0800
Subject: [PATCH 14/20] add test comment for docker build issue
---
backend/src/app.ts | 2 +-
backend/src/authorization/defineAbility.ts | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 backend/src/authorization/defineAbility.ts
diff --git a/backend/src/app.ts b/backend/src/app.ts
index 79561d00c..bb2450f07 100644
--- a/backend/src/app.ts
+++ b/backend/src/app.ts
@@ -57,7 +57,7 @@ import { healthCheck } from './routes/status';
import { getLogger } from './utils/logger';
import { RouteNotFoundError } from './utils/errors';
import { requestErrorHandler } from './middleware/requestErrorHandler';
-
+// test comment
// patch async route params to handle Promise Rejections
patchRouterParam();
diff --git a/backend/src/authorization/defineAbility.ts b/backend/src/authorization/defineAbility.ts
new file mode 100644
index 000000000..4bdc076f4
--- /dev/null
+++ b/backend/src/authorization/defineAbility.ts
@@ -0,0 +1,16 @@
+import { defineAbility } from '@casl/ability';
+
+export const defineWorkspaceAbilityFor = (user: any) => defineAbility((can) => {
+ // can('manage', 'all');
+ // console.log("workspace ===>", workspace)
+
+ // if (user) {
+ can(["read", "delete", "update"], "Workspace", { name: "Example Projects" })
+ // }
+
+ // if (user.isLoggedIn) {
+ // can('update', 'Article', { authorId: user.id });
+ // can('create', 'Comment');
+ // can('update', 'Comment', { authorId: user.id });
+ // }
+});
\ No newline at end of file
From 3ef2ac8a77b50c1fbac1fa2173acccbf1736a011 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 11:14:00 -0800
Subject: [PATCH 15/20] correct tags in docker image workflow
---
.github/workflows/docker-image.yml | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index b4f9546ae..15142984d 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -45,8 +45,9 @@ jobs:
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
push: true
context: backend
- tags: infisical/backend:${{ steps.commit.outputs.short }},
- infisical/backend:latest
+ tags: |
+ infisical/backend:${{ steps.commit.outputs.short }}
+ infisical/backend:latest
platforms: linux/amd64,linux/arm64
frontend-image:
@@ -94,8 +95,9 @@ jobs:
push: true
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
context: frontend
- tags: infisical/frontend:${{ steps.commit.outputs.short }},
- infisical/frontend:latest
+ tags: |
+ infisical/frontend:${{ steps.commit.outputs.short }}
+ infisical/frontend:latest
platforms: linux/amd64,linux/arm64
build-args: |
POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}
@@ -135,4 +137,4 @@ jobs:
exit 1
else
echo "Helm upgrade was successful"
- fi
\ No newline at end of file
+ fi
From 8a9e05b08f3307378317a96e61f8a13bbec18fe0 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 11:16:29 -0800
Subject: [PATCH 16/20] Revert "add test comment for docker build issue"
This reverts commit fdac590a023433113ae21295dbe1abf165fb5500.
---
backend/src/app.ts | 2 +-
backend/src/authorization/defineAbility.ts | 16 ----------------
2 files changed, 1 insertion(+), 17 deletions(-)
delete mode 100644 backend/src/authorization/defineAbility.ts
diff --git a/backend/src/app.ts b/backend/src/app.ts
index bb2450f07..79561d00c 100644
--- a/backend/src/app.ts
+++ b/backend/src/app.ts
@@ -57,7 +57,7 @@ import { healthCheck } from './routes/status';
import { getLogger } from './utils/logger';
import { RouteNotFoundError } from './utils/errors';
import { requestErrorHandler } from './middleware/requestErrorHandler';
-// test comment
+
// patch async route params to handle Promise Rejections
patchRouterParam();
diff --git a/backend/src/authorization/defineAbility.ts b/backend/src/authorization/defineAbility.ts
deleted file mode 100644
index 4bdc076f4..000000000
--- a/backend/src/authorization/defineAbility.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineAbility } from '@casl/ability';
-
-export const defineWorkspaceAbilityFor = (user: any) => defineAbility((can) => {
- // can('manage', 'all');
- // console.log("workspace ===>", workspace)
-
- // if (user) {
- can(["read", "delete", "update"], "Workspace", { name: "Example Projects" })
- // }
-
- // if (user.isLoggedIn) {
- // can('update', 'Article', { authorId: user.id });
- // can('create', 'Comment');
- // can('update', 'Comment', { authorId: user.id });
- // }
-});
\ No newline at end of file
From 233a4681274e2bf868e2a7d64b127cb3a2a7d1dd Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 11:17:09 -0800
Subject: [PATCH 17/20] Revert "add console.log for post"
This reverts commit dd960aa5f045f62a556e67f81bf172372401a465.
---
frontend/src/components/analytics/posthog.ts | 3 ---
1 file changed, 3 deletions(-)
diff --git a/frontend/src/components/analytics/posthog.ts b/frontend/src/components/analytics/posthog.ts
index 612289997..aa6abf463 100644
--- a/frontend/src/components/analytics/posthog.ts
+++ b/frontend/src/components/analytics/posthog.ts
@@ -5,9 +5,6 @@ import posthog from 'posthog-js';
import { ENV, POSTHOG_API_KEY, POSTHOG_HOST } from '../utilities/config';
export const initPostHog = () => {
- /* eslint-disable no-console */
- console.log("Hello World")
- /* eslint-enable no-console */
try {
if (typeof window !== 'undefined') {
// @ts-ignore
From 13aeeb47311c655f2d5eb32ab9b7b790c0b684c6 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 11:21:56 -0800
Subject: [PATCH 18/20] console.log in posthog
---
frontend/src/components/analytics/posthog.ts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/frontend/src/components/analytics/posthog.ts b/frontend/src/components/analytics/posthog.ts
index aa6abf463..29208a795 100644
--- a/frontend/src/components/analytics/posthog.ts
+++ b/frontend/src/components/analytics/posthog.ts
@@ -5,6 +5,8 @@ import posthog from 'posthog-js';
import { ENV, POSTHOG_API_KEY, POSTHOG_HOST } from '../utilities/config';
export const initPostHog = () => {
+ // @ts-ignore
+ console.log("Init Infisical")
try {
if (typeof window !== 'undefined') {
// @ts-ignore
From 2dbcab32d59d2efbb1ba03049fc0dc86d4b92031 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 12:03:53 -0800
Subject: [PATCH 19/20] update gamma pull image policy
---
.github/values.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/values.yaml b/.github/values.yaml
index 9e52f5dd6..5fd38b031 100644
--- a/.github/values.yaml
+++ b/.github/values.yaml
@@ -13,7 +13,7 @@ frontend:
replicaCount: 2
image:
repository: infisical/frontend
- pullPolicy: IfNotPresent
+ pullPolicy: Always
tag: "latest"
kubeSecretRef: managed-secret-frontend
service:
@@ -31,7 +31,7 @@ backend:
replicaCount: 2
image:
repository: infisical/backend
- pullPolicy: IfNotPresent
+ pullPolicy: Always
tag: "latest"
kubeSecretRef: managed-backend-secret
service:
From a1841924521d4da087336aacd803705f123c7800 Mon Sep 17 00:00:00 2001
From: Maidul Islam
Date: Sat, 28 Jan 2023 12:34:04 -0800
Subject: [PATCH 20/20] Inform k8 self host about latest tags
---
docs/self-hosting/deployments/kubernetes.mdx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/self-hosting/deployments/kubernetes.mdx b/docs/self-hosting/deployments/kubernetes.mdx
index 4fbc16b71..b3368d626 100644
--- a/docs/self-hosting/deployments/kubernetes.mdx
+++ b/docs/self-hosting/deployments/kubernetes.mdx
@@ -39,8 +39,8 @@ frontend:
replicaCount: 2
image:
repository: infisical/frontend
- pullPolicy: IfNotPresent
- tag: "latest"
+ pullPolicy: Always
+ tag: "latest" # It it highly recommended to select a specific tag for prod deployment so it is easy to rollback: https://hub.docker.com/r/infisical/frontend/tags
# kubeSecretRef: some-kube-secret-name
service:
# type of the frontend service
@@ -56,8 +56,8 @@ backend:
replicaCount: 2
image:
repository: infisical/backend
- pullPolicy: IfNotPresent
- tag: "latest"
+ pullPolicy: Always
+ tag: "latest" # It it highly recommended to select a specific tag for prod deployment so it is easy to rollback: https://hub.docker.com/r/infisical/backend/tags
# kubeSecretRef: some-kube-secret-name
service:
annotations: {}
@@ -68,7 +68,7 @@ mongodb:
image:
repository: mongo
pullPolicy: IfNotPresent
- tag: "latest"
+ tag: "latest"
service:
annotations: {}