Skip to content

Commit

Permalink
Merge branch 'main' into main#release#patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ssyno authored Oct 23, 2024
2 parents dfbe297 + 7df6850 commit 79185f4
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


## [0.12.1] - 2024-10-23

### Added

- Added enable/disable switch on `tbot` components

## [0.12.0] - 2024-10-16

### Changed
Expand Down
2 changes: 2 additions & 0 deletions helm/teleport-operator/templates/tbot-configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.tbot-deployment.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
Expand Down Expand Up @@ -25,3 +26,4 @@ data:
destination:
type: kubernetes_secret
name: identity-output
{{- end }}
2 changes: 2 additions & 0 deletions helm/teleport-operator/templates/tbot-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.tbot-deployment.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -76,3 +77,4 @@ spec:
{{- toYaml .Values.affinity | nindent 8 }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
2 changes: 2 additions & 0 deletions helm/teleport-operator/templates/tbot-networkpolicy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.tbot-deployment.enabled }}
{{- if .Values.ciliumNetworkPolicy.enabled }}
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
Expand Down Expand Up @@ -40,3 +41,4 @@ spec:
- Egress
- Ingress
{{- end }}
{{- end }}
8 changes: 8 additions & 0 deletions helm/teleport-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@
"type": "boolean"
}
}
},
"tbot-deployment": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
}
}
}
5 changes: 5 additions & 0 deletions helm/teleport-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,10 @@ affinity:
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"

# Enables `--tbot` flag, `teleport-tbot` App has to be installed
tbot:
enabled: false

# Enables `teleport-operator-tbot` deployment
tbot-deployment:
enabled: true

0 comments on commit 79185f4

Please sign in to comment.