* refactor: switch operator from CRD to ConfigMap Replace the WindmillInstance CRD with a plain ConfigMap for the K8s operator. This simplifies deployment (no CRD to install/manage, no ClusterRole for custom API groups) while keeping the same config schema. - Replace crd_ee.rs with configmap_ee.rs (parses data.spec YAML key) - Rewrite reconciler_ee.rs: ConfigMap watcher + Event recorder instead of CRD Controller + status subresource - Add license_key preservation: if absent/empty in ConfigMap but present in DB, the DB value is kept - Remove print_crd_yaml() and "operator crd" subcommand - Drop schemars, chrono, instance_config_schema dependencies - Delete manifests/crd.yaml - Update K8s example and README for ConfigMap approach - RBAC now only needs a namespace-scoped Role (not ClusterRole) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: add superadmin YAML export endpoint and remove cache_clear from operator config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
606 B
TOML
29 lines
606 B
TOML
[package]
|
|
name = "windmill-operator"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
|
|
[lib]
|
|
name = "windmill_operator"
|
|
path = "./src/lib.rs"
|
|
|
|
[features]
|
|
enterprise = ["windmill-common/enterprise"]
|
|
private = []
|
|
default = []
|
|
|
|
[dependencies]
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sqlx.workspace = true
|
|
tracing.workspace = true
|
|
windmill-common = { workspace = true, default-features = false }
|
|
anyhow.workspace = true
|
|
thiserror.workspace = true
|
|
kube.workspace = true
|
|
k8s-openapi.workspace = true
|
|
tokio.workspace = true
|
|
futures.workspace = true
|
|
serde_yml.workspace = true
|