--- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: elasticsearch-system resources: - namespace.yaml - repository.yaml - operator.yaml - cluster.yaml - secret.yaml - security-setup.yaml - monitoring.yaml # Apply resources in order # 1. Namespace and repository first # 2. Storage class and operator # 3. Cluster configuration # 4. Security setup (job runs after cluster is ready) # 5. Monitoring and ingress