Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion charts/tofu-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ __Note__: If you need to use the `imagePullSecrets` it would be best to set `ser
| affinity | object | `{}` | Affinity properties for the tofu-controller deployment |
| allowBreakTheGlass | bool | `false` | Argument for `--allow-break-the-glass` (Controller). AllowBreakTheGlass allows the controller to break the glass and modify Terraform states when the sync loop is broken. |
| allowCrossNamespaceRefs | bool | `false` | If `true`, enable cross-namespace references for controller and branch-planner |
| annotations | object | `{}` | Additional deployment annotations for controller and branch-planner |
| awsPackage.install | bool | `true` | |
| awsPackage.repository | string | `"ghcr.io/flux-iac/aws-primitive-modules"` | |
| awsPackage.tag | string | `"v4.38.0-v1alpha11"` | |
Expand Down Expand Up @@ -72,7 +73,7 @@ __Note__: If you need to use the `imagePullSecrets` it would be best to set `ser
| metrics.serviceMonitor.targetLabels | list | `[]` | Set targetLabels for the serviceMonitor |
| nameOverride | string | `""` | Provide a name |
| nodeSelector | object | `{}` | Node Selector properties for the tofu-controller deployment |
| podAnnotations | object | `{}` | Additional pod annotations |
| podAnnotations | object | `{}` | Additional pod annotations for controller and branch-planner |
| podLabels | object | `{}` | Additional pod labels |
| podSecurityContext | object | `{"fsGroup":1337}` | Pod-level security context |
| priorityClassName | string | `""` | PriorityClassName property for the tofu-controller deployment |
Expand Down
4 changes: 4 additions & 0 deletions charts/tofu-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
apiVersion: apps/v1
kind: Deployment
metadata:
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "tofu-controller.labels" . | nindent 4 }}
name: {{ include "tofu-controller.fullname" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/tofu-controller/templates/planner-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
apiVersion: apps/v1
kind: Deployment
metadata:
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "planner.labels" . | nindent 4 }}
name: {{ include "planner.fullname" . }}
Expand Down
4 changes: 3 additions & 1 deletion charts/tofu-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ serviceAccount:
nameOverride: ""
# -- Provide a fullname
fullnameOverride: ""
# -- Additional pod annotations
# -- Additional deployment annotations for controller and branch-planner
annotations: {}
# -- Additional pod annotations for controller and branch-planner
podAnnotations: {}
# -- Additional pod labels
podLabels: {}
Expand Down