Files
cozystack/packages/system/cozystack-controller/templates/deployment.yaml
Andrei Kvapil 227848a59d Introduce cozystack-controller (#560)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Based on the comprehensive summary of changes, here are the release
notes:

- **New Features**
	- Added a new Kubernetes controller for managing workload monitoring
- Introduced telemetry collection capabilities with configurable options
- Added new Custom Resource Definitions (CRDs) for Workload and
WorkloadMonitor

- **Improvements**
	- Enhanced API infrastructure with new API group and version
	- Improved deployment configurations for various system components
	- Added development container and workflow configurations

- **Bug Fixes**
	- Updated import paths to correct domain naming

- **Chores**
	- Updated copyright years
	- Refined module dependencies
	- Standardized code linting and testing configurations

- **Infrastructure**
- Increased `cozystack-api` deployment replicas from 1 to 2 for improved
availability
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2025-01-09 12:24:51 +01:00

32 lines
824 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: cozystack-controller
namespace: cozy-system
labels:
app: cozystack-controller
spec:
replicas: 1
selector:
matchLabels:
app: cozystack-controller
template:
metadata:
labels:
app: cozystack-controller
spec:
serviceAccountName: cozystack-controller
containers:
- name: cozystack-controller
image: "{{ .Values.cozystackController.image }}"
args:
- --cozystack-version={{ .Values.cozystackController.cozystackVersion }}
{{- if .Values.cozystackController.debug }}
- --zap-log-level=debug
{{- else }}
- --zap-log-level=info
{{- end }}
{{- if .Values.cozystackController.disableTelemetry }}
- --disable-telemetry
{{- end }}