Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat(chart): added updatedAt annotation to apps dpl and pod
Grraahaambdb71d10518a
diff --git a/helm-charts/infisical/README.md b/helm-charts/infisical/README.mdindex 54ece9119b..e614d96005 100644--- a/helm-charts/infisical/README.md+++ b/helm-charts/infisical/README.md@@ -289,6 +289,8 @@ helm upgrade --install --atomic \<your-release-name> .```+ℹ️ Since we provide references to the k8s secret resources within the pods, their manifest file doesnt change and though doesnt reload (no changes detected). When upgrading your secrets, you'll have to do it through Helm (a timestamp field will be updated and your pods restarted)+### 0.1.16- Auto-generation for the following variables, to ease your future upgrades or setups :diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yamlindex f0b134d5b6..797439019a 100644--- a/helm-charts/infisical/templates/backend-deployment.yaml+++ b/helm-charts/infisical/templates/backend-deployment.yaml@@ -3,10 +3,11 @@ apiVersion: apps/v1kind: Deploymentmetadata:name: {{ include "infisical.backend.fullname" . }}- {{- with $backend.deploymentAnnotations }}annotations:- {{- toYaml . | nindent 8 }}- {{- end }}+ updatedAt: {{ now | date "2006-01-01 MST 15:04:05" | quote }}+ {{- with $backend.deploymentAnnotations }}+ {{- toYaml . | nindent 4 }}+ {{- end }}labels:{{- include "infisical.backend.labels" . | nindent 4 }}spec:@@ -18,10 +19,11 @@ spec:metadata:labels:{{- include "infisical.backend.matchLabels" . | nindent 8 }}- {{- with $backend.podAnnotations }}annotations:+ updatedAt: {{ now | date "2006-01-01 MST 15:04:05" | quote }}+ {{- with $backend.podAnnotations }}{{- toYaml . | nindent 8 }}- {{- end }}+ {{- end }}spec:containers:- name: {{ template "infisical.name" . }}-{{ $backend.name }}diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yamlindex 114cfc112a..9c5cd15608 100644--- a/helm-charts/infisical/templates/frontend-deployment.yaml+++ b/helm-charts/infisical/templates/frontend-deployment.yaml@@ -3,9 +3,10 @@ apiVersion: apps/v1kind: Deploymentmetadata:name: {{ include "infisical.frontend.fullname" . }}- {{- with .Values.frontend.deploymentAnnotations }}annotations:- {{- toYaml . | nindent 8 }}+ updatedAt: {{ now | date "2006-01-01 MST 15:04:05" | quote }}+ {{- with .Values.frontend.deploymentAnnotations }}+ {{- toYaml . | nindent 4 }}{{- end }}labels:{{- include "infisical.frontend.labels" . | nindent 4 }}@@ -18,10 +19,11 @@ spec:metadata:labels:{{- include "infisical.frontend.matchLabels" . | nindent 8 }}- {{- with $frontend.podAnnotations }}annotations:+ updatedAt: {{ now | date "2006-01-01 MST 15:04:05" | quote }}+ {{- with $frontend.podAnnotations }}{{- toYaml . | nindent 8 }}- {{- end }}+ {{- end }}spec:containers:- name: {{ template "infisical.name" . }}-{{ $frontend.name }}