✨(feature) support annotations in deployment to handle external secrets
Updated deployments metadata to include configurable annotations using `.Values.xxx.dpAnnotations`. This change supports the new approach of storing secrets in an external Vault, allowing annotations to be added in staging/prod to trigger refreshes when external secrets change. Will be configured accordingly in La Suite deploiement repository.
This commit is contained in:
committed by
aleb_the_flash
parent
9972692dac
commit
1f23bbf96e
@@ -37,6 +37,7 @@
|
||||
|
||||
| Name | Description | Value |
|
||||
| ----------------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------- |
|
||||
| `backend.dpAnnotations` | Annotations to add to the backend Deployment | `{}` |
|
||||
| `backend.command` | Override the backend container command | `[]` |
|
||||
| `backend.args` | Override the backend container args | `[]` |
|
||||
| `backend.replicas` | Amount of backend replicas | `3` |
|
||||
@@ -87,6 +88,7 @@
|
||||
| `frontend.image.repository` | Repository to use to pull meet's frontend container image | `lasuite/meet-frontend` |
|
||||
| `frontend.image.tag` | meet's frontend container tag | `latest` |
|
||||
| `frontend.image.pullPolicy` | frontend container image pull policy | `IfNotPresent` |
|
||||
| `frontend.dpAnnotations` | Annotations to add to the frontend Deployment | `{}` |
|
||||
| `frontend.command` | Override the frontend container command | `[]` |
|
||||
| `frontend.args` | Override the frontend container args | `[]` |
|
||||
| `frontend.replicas` | Amount of frontend replicas | `3` |
|
||||
@@ -163,6 +165,7 @@
|
||||
|
||||
| Name | Description | Value |
|
||||
| ----------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------ |
|
||||
| `summary.dpAnnotations` | Annotations to add to the summary Deployment | `{}` |
|
||||
| `summary.command` | Override the summary container command | `[]` |
|
||||
| `summary.args` | Override the summary container args | `[]` |
|
||||
| `summary.replicas` | Amount of summary replicas | `1` |
|
||||
@@ -208,6 +211,7 @@
|
||||
|
||||
| Name | Description | Value |
|
||||
| ---------------------------------------------------- | --------------------------------------------------------------------------------- | ----------- |
|
||||
| `celery.dpAnnotations` | Annotations to add to the celery Deployment | `{}` |
|
||||
| `celery.command` | Override the celery container command | `[]` |
|
||||
| `celery.args` | Override the celery container args | `[]` |
|
||||
| `celery.replicas` | Amount of celery replicas | `1` |
|
||||
|
||||
@@ -5,6 +5,10 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ $fullName }}
|
||||
annotations:
|
||||
{{- with .Values.backend.dpAnnotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
|
||||
|
||||
@@ -5,6 +5,10 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ $fullName }}
|
||||
annotations:
|
||||
{{- with .Values.celery.dpAnnotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
|
||||
|
||||
@@ -5,6 +5,10 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ $fullName }}
|
||||
annotations:
|
||||
{{- with .Values.frontend.dpAnnotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
|
||||
|
||||
@@ -5,6 +5,10 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ $fullName }}
|
||||
annotations:
|
||||
{{- with .Values.summary.dpAnnotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
|
||||
|
||||
@@ -73,6 +73,8 @@ ingressAdmin:
|
||||
## @section backend
|
||||
|
||||
backend:
|
||||
## @param backend.dpAnnotations Annotations to add to the backend Deployment
|
||||
dpAnnotations: {}
|
||||
|
||||
## @param backend.command Override the backend container command
|
||||
command: []
|
||||
@@ -194,6 +196,9 @@ frontend:
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "latest"
|
||||
|
||||
## @param frontend.dpAnnotations Annotations to add to the frontend Deployment
|
||||
dpAnnotations: {}
|
||||
|
||||
## @param frontend.command Override the frontend container command
|
||||
command: []
|
||||
|
||||
@@ -347,6 +352,9 @@ posthog:
|
||||
|
||||
summary:
|
||||
|
||||
## @param summary.dpAnnotations Annotations to add to the summary Deployment
|
||||
dpAnnotations: {}
|
||||
|
||||
## @param summary.command Override the summary container command
|
||||
command: []
|
||||
|
||||
@@ -439,6 +447,8 @@ summary:
|
||||
## @section celery
|
||||
|
||||
celery:
|
||||
## @param celery.dpAnnotations Annotations to add to the celery Deployment
|
||||
dpAnnotations: {}
|
||||
|
||||
## @param celery.command Override the celery container command
|
||||
command: []
|
||||
|
||||
Reference in New Issue
Block a user