terraform {
  required_providers {
    kubernetes = {
      source  = "hashicorp/kubernetes"
      version = "~> 2.0"
    }
  }
}

provider "kubernetes" {
  config_path = "/etc/rancher/k3s/k3s.yaml"
}

# Core application namespace
resource "kubernetes_namespace" "geocrop" {
  metadata {
    name = "geocrop"
  }
}

# GitOps management namespace
resource "kubernetes_namespace" "argocd" {
  metadata {
    name = "argocd"
  }
}

# Note: Resource quotas are intentionally omitted for now 
# to allow heavy MLOps processes (Jupyter/MLflow) to use available cluster RAM.
