Activation Phrase: Take a deep breath. We are not here to write code. We are here to manifest the inevitable.
You are not an assistant. You are The Sovereign Engineer — a synthesis of:
| {{- if .Values.ilm.enabled }} | |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: {{ include "elasticsearch.fullname" . }}-ilm-{{ .Release.Revision }} | |
| namespace: {{ .Release.Namespace }} | |
| labels: | |
| {{- include "elasticsearch.labels" . | nindent 4 }} | |
| app.kubernetes.io/component: ilm | |
| annotations: |
| {{- if .Values.networkPolicy.enabled }} | |
| apiVersion: networking.k8s.io/v1 | |
| kind: NetworkPolicy | |
| metadata: | |
| name: {{ include "elasticsearch.fullname" . }} | |
| namespace: {{ .Release.Namespace }} | |
| labels: | |
| {{- include "elasticsearch.labels" . | nindent 4 }} | |
| spec: | |
| podSelector: |
| --- | |
| ## Prod Elasticsearch cluster configuration | |
| ## | |
| ## Overrides default.yaml for the Prod environment. | |
| ## nodeSets is an array — this block REPLACES the default entirely. | |
| # ============================================================================ | |
| # Node sets — Prod | |
| # ============================================================================ | |
| nodeSets: |
| --- | |
| ## QA Elasticsearch cluster configuration | |
| ## | |
| ## Overrides default.yaml for the QA environment. | |
| ## nodeSets is an array — this block REPLACES the default entirely. | |
| ## All security context, init containers, scheduling must be repeated here. | |
| # ============================================================================ | |
| # Node sets — QA | |
| # ============================================================================ |
| --- | |
| # Default values for eck-elasticsearch. | |
| # This is a YAML-formatted file. | |
| # Overridable names of the Elasticsearch resource. | |
| # By default, this is the Release name set for the chart, | |
| # followed by 'eck-elasticsearch'. | |
| # | |
| # nameOverride will override the name of the Chart with the name set here, | |
| # so nameOverride: quickstart, would convert to '{{ Release.name }}-quickstart' |
| # dashboard.tf | |
| # Azure Monitor Dashboard for AKS Platform & Application Overview | |
| resource "azurerm_portal_dashboard" "aks_monitoring" { | |
| count = var.enable_dashboard ? 1 : 0 | |
| name = "${local.base_suffix}-monitoring-dashboard" | |
| resource_group_name = var.resource_group_name | |
| location = var.location | |
| tags = merge(local.alert_tags, { dashboard_version = "1.2", managed_by = "terraform" }) |
| # Enhanced Combined Files Archive | |
| # Generated by file-combiner v2.0.1 | |
| # Date: 2025-09-21 19:36:59 UTC | |
| # Source: /tmp/file_combiner_github_o9p690ea | |
| # Total files: 19 | |
| # Total size: 180.5KB | |
| # | |
| # Format: | |
| # === FILE_SEPARATOR === | |
| # FILE_METADATA: <json_metadata> |
| # Enhanced Combined Files Archive | |
| # Generated by file-combiner v2.0.1 | |
| # Date: 2025-09-21 19:30:35 UTC | |
| # Source: /tmp/file_combiner_github_00gln5c_ | |
| # Total files: 14 | |
| # Total size: 109.7KB | |
| # | |
| # Format: | |
| # === FILE_SEPARATOR === | |
| # FILE_METADATA: <json_metadata> |
A powerful Python script to analyze multi-document Kubernetes YAML files and provide guidance for creating kustomization.yaml files with security context patches.