Ver código fonte

refactor: remove all schema-related code from v0.1.3 - schema property now ignored

xcad 1 mês atrás
pai
commit
838d85744f
72 arquivos alterados com 82 adições e 86 exclusões
  1. 0 6
      cli/core/module/base_module.py
  2. 11 79
      cli/core/template/template.py
  3. 1 0
      library/ansible/checkmk-install-agent/template.yaml
  4. 1 0
      library/ansible/checkmk-manage-host/template.yaml
  5. 1 0
      library/ansible/docker-certs-enable/template.yaml
  6. 1 0
      library/ansible/docker-certs/template.yaml
  7. 1 0
      library/ansible/docker-install-ubuntu/template.yaml
  8. 1 0
      library/ansible/docker-prune/template.yaml
  9. 1 0
      library/ansible/ubuntu-add-sshkey/template.yaml
  10. 1 0
      library/ansible/ubuntu-apt-update/template.yaml
  11. 1 0
      library/ansible/ubuntu-vm-core/template.yaml
  12. 1 0
      library/compose/adguardhome/template.yaml
  13. 1 0
      library/compose/alloy/template.yaml
  14. 1 0
      library/compose/authentik/template.yaml
  15. 1 0
      library/compose/bind9/template.yaml
  16. 1 0
      library/compose/checkmk/template.yaml
  17. 1 0
      library/compose/dockge/template.yaml
  18. 1 0
      library/compose/gitea/template.yaml
  19. 2 1
      library/compose/gitlab-runner/template.yaml
  20. 1 0
      library/compose/gitlab/template.yaml
  21. 1 0
      library/compose/grafana/template.yaml
  22. 1 0
      library/compose/homeassistant/template.yaml
  23. 1 0
      library/compose/homepage/template.yaml
  24. 1 0
      library/compose/homer/template.yaml
  25. 1 0
      library/compose/influxdb/template.yaml
  26. 1 0
      library/compose/komodo/template.yaml
  27. 1 0
      library/compose/loki/template.yaml
  28. 1 0
      library/compose/mariadb/template.yaml
  29. 1 0
      library/compose/n8n/template.yaml
  30. 1 0
      library/compose/netbox/template.yaml
  31. 1 0
      library/compose/nextcloud/template.yaml
  32. 1 0
      library/compose/nginx/template.yaml
  33. 1 0
      library/compose/openwebui/template.yaml
  34. 1 0
      library/compose/pangolin/template.yaml
  35. 1 0
      library/compose/passbolt/template.yaml
  36. 1 0
      library/compose/pihole/template.yaml
  37. 1 0
      library/compose/portainer/template.yaml
  38. 1 0
      library/compose/postgres/template.yaml
  39. 1 0
      library/compose/prometheus/template.yaml
  40. 1 0
      library/compose/renovate/template.yaml
  41. 1 0
      library/compose/semaphoreui/template.yaml
  42. 1 0
      library/compose/traefik/template.yaml
  43. 1 0
      library/compose/twingate-connector/template.yaml
  44. 1 0
      library/compose/uptimekuma/template.yaml
  45. 1 0
      library/compose/whoami/template.yaml
  46. 1 0
      library/helm/authentik/template.yaml
  47. 1 0
      library/helm/certmanager/template.yaml
  48. 1 0
      library/helm/longhorn/template.yaml
  49. 1 0
      library/helm/netbox/template.yaml
  50. 1 0
      library/helm/portainer/template.yaml
  51. 1 0
      library/helm/traefik/template.yaml
  52. 1 0
      library/kubernetes/certmanager-certificate/template.yaml
  53. 1 0
      library/kubernetes/certmanager-clusterissuer/template.yaml
  54. 1 0
      library/kubernetes/certmanager-issuer/template.yaml
  55. 1 0
      library/kubernetes/core-configmap/template.yaml
  56. 1 0
      library/kubernetes/core-ingress/template.yaml
  57. 1 0
      library/kubernetes/core-ingressclass/template.yaml
  58. 1 0
      library/kubernetes/core-persistentvolume/template.yaml
  59. 1 0
      library/kubernetes/core-persistentvolumeclaim/template.yaml
  60. 1 0
      library/kubernetes/core-secret/template.yaml
  61. 1 0
      library/kubernetes/core-service/template.yaml
  62. 1 0
      library/kubernetes/core-serviceaccount/template.yaml
  63. 1 0
      library/kubernetes/core-storageclass/template.yaml
  64. 1 0
      library/kubernetes/traefik-ingressroute/template.yaml
  65. 1 0
      library/kubernetes/traefik-ingressroutetcp/template.yaml
  66. 1 0
      library/kubernetes/traefik-middleware/template.yaml
  67. 1 0
      library/kubernetes/twingate-connector/template.yaml
  68. 1 0
      library/packer/proxmox-iso-ubuntu/template.yaml
  69. 1 0
      library/terraform/cloudflare-dns-record/template.yaml
  70. 1 0
      library/terraform/cloudflare-ztna-application/template.yaml
  71. 1 0
      library/terraform/dns-a-record/template.yaml
  72. 1 0
      library/terraform/netbox-vm/template.yaml

+ 0 - 6
cli/core/module/base_module.py

@@ -79,9 +79,6 @@ class Module(ABC):
 
                 template = Template(template_dir, library_name=library_name, library_type=library_type)
 
-                # Validate schema version compatibility
-                template._validate_schema_version(self.schema_version, self.name)
-
                 # If template ID needs qualification, set qualified ID
                 if needs_qualification:
                     template.set_qualified_id()
@@ -115,9 +112,6 @@ class Module(ABC):
         try:
             template = Template(template_dir, library_name=library_name, library_type=library_type)
 
-            # Validate schema version compatibility
-            template._validate_schema_version(self.schema_version, self.name)
-
             # If the original ID was qualified, preserve it
             if "." in id:
                 template.id = id

+ 11 - 79
cli/core/template/template.py

@@ -356,17 +356,13 @@ class Template:
             # Validate 'kind' field (always needed)
             self._validate_kind(self._template_data)
 
-            # Extract schema version (only if explicitly declared in template.yaml)
-            # If schema property is missing, template is self-contained (no schema inheritance)
-            if "schema" in self._template_data:
-                self.schema_version = str(self._template_data["schema"])
-                logger.debug(f"Template uses schema version: {self.schema_version}")
-            else:
-                # No schema property = template is self-contained
-                self.schema_version = None
-                logger.debug("Template is self-contained (no schema property)")
+            # DEPRECATION (v0.1.3): Schema property is ignored for backwards compatibility
+            # Templates are now self-contained and never use schemas
+            # The schema property may still exist in template.yaml for older client compatibility
+            self.schema_version = None
+            logger.debug("Template is self-contained (schemas are no longer used)")
 
-            # Note: Schema version validation is done by the module when loading templates
+            # Note: Schema loading and validation removed in v0.1.3
 
             # NOTE: File collection is now lazy-loaded via the template_files property
             # This significantly improves performance when listing many templates
@@ -480,61 +476,6 @@ class Template:
 
         return merged_spec
 
-    def _warn_about_inherited_variables(self, module_specs: dict, template_specs: dict) -> None:
-        """Warn about variables inherited from module schemas (deprecation warning).
-
-        DEPRECATION (v0.1.3): Templates should define all variables explicitly in template.yaml.
-        This method detects variables that are used in template files but come from module schemas,
-        and warns users to add them to the template spec.
-
-        Args:
-            module_specs: Variables defined in module schema
-            template_specs: Variables defined in template.yaml
-        """
-        # Skip if no module specs (already self-contained)
-        if not module_specs:
-            return
-
-        # Collect variables from module specs
-        module_vars = set()
-        for section_data in module_specs.values():
-            if isinstance(section_data, dict) and "vars" in section_data:
-                module_vars.update(section_data["vars"].keys())
-
-        # Collect variables explicitly defined in template
-        template_vars = set()
-        for section_data in (template_specs or {}).values():
-            if isinstance(section_data, dict) and "vars" in section_data:
-                template_vars.update(section_data["vars"].keys())
-
-        # Get variables actually used in template files
-        used_vars = self.used_variables
-
-        # Find variables that are:
-        # 1. Used in template files AND defined in module schema (inherited variables)
-        # 2. NOT explicitly defined in template.yaml (missing definitions)
-        # These are the problematic ones - the template relies on schema
-        inherited_vars = used_vars & module_vars
-        missing_definitions = inherited_vars - template_vars
-
-        # Only warn once per template (use a flag to avoid repeated warnings)
-        if missing_definitions and not self._schema_deprecation_warned:
-            self._schema_deprecation_warned = True
-            # Show first N variables in warning, full list in debug
-            max_shown_vars = 10
-            shown_vars = sorted(list(missing_definitions)[:max_shown_vars])
-            ellipsis = "..." if len(missing_definitions) > max_shown_vars else ""
-            logger.warning(
-                f"DEPRECATION WARNING: Template '{self.id}' uses {len(missing_definitions)} "
-                f"variable(s) from module schema without defining them in template.yaml. "
-                f"In future versions, all used variables must be defined in template.yaml. "
-                f"Missing definitions: {', '.join(shown_vars)}{ellipsis}"
-            )
-            logger.debug(
-                f"Template '{self.id}' should add these variable definitions to template.yaml spec: "
-                f"{sorted(missing_definitions)}"
-            )
-
     def _warn_about_unused_variables(self, template_specs: dict) -> None:
         """Warn about variables defined in spec but not used in template files.
 
@@ -976,25 +917,16 @@ class Template:
 
     @property
     def module_specs(self) -> dict:
-        """Get the spec from the module definition for this template's schema version.
-
-        Returns empty dict if template doesn't declare a schema (self-contained).
+        """Get the spec from the module (always empty in v0.1.3+).
+        
+        Schemas are no longer used. All templates are self-contained.
+        This property returns empty dict for backwards compatibility.
         """
         if self.__module_specs is None:
-            # Only load module specs if template explicitly declares a schema version
-            # Templates without a schema property are self-contained
-            if self.schema_version is not None:
-                kind = self._template_data.get("kind")
-                self.__module_specs = self._load_module_specs_for_schema(kind, self.schema_version)
-            else:
-                self.__module_specs = {}
-        return self.__module_specs
-
+            self.__module_specs = {}
     @property
     def merged_specs(self) -> dict:
         if self.__merged_specs is None:
-            # Warn about inherited variables (deprecation)
-            self._warn_about_inherited_variables(self.module_specs, self.template_specs)
             # Warn about unused variables in spec
             self._warn_about_unused_variables(self.template_specs)
             self.__merged_specs = self._merge_specs(self.module_specs, self.template_specs)

+ 1 - 0
library/ansible/checkmk-install-agent/template.yaml

@@ -16,6 +16,7 @@ metadata:
     id: checkmk
   draft: false
   next_steps: ""
+schema: "1.2"
 spec:
   checkmk:
     title: Checkmk Configuration

+ 1 - 0
library/ansible/checkmk-manage-host/template.yaml

@@ -16,6 +16,7 @@ metadata:
     id: checkmk
   draft: false
   next_steps: ""
+schema: "1.2"
 spec:
   checkmk:
     title: Checkmk Configuration

+ 1 - 0
library/ansible/docker-certs-enable/template.yaml

@@ -17,6 +17,7 @@ metadata:
   author: Christian Lempa
   date: '2025-11-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/ansible/docker-certs/template.yaml

@@ -17,6 +17,7 @@ metadata:
   author: Christian Lempa
   date: '2025-11-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/ansible/docker-install-ubuntu/template.yaml

@@ -17,6 +17,7 @@ metadata:
   author: Christian Lempa
   date: '2025-11-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/ansible/docker-prune/template.yaml

@@ -17,6 +17,7 @@ metadata:
   author: Christian Lempa
   date: '2025-11-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/ansible/ubuntu-add-sshkey/template.yaml

@@ -17,6 +17,7 @@ metadata:
   author: Christian Lempa
   date: '2025-11-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/ansible/ubuntu-apt-update/template.yaml

@@ -17,6 +17,7 @@ metadata:
   author: Christian Lempa
   date: '2025-11-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/ansible/ubuntu-vm-core/template.yaml

@@ -17,6 +17,7 @@ metadata:
   author: Christian Lempa
   date: '2025-11-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/adguardhome/template.yaml

@@ -30,6 +30,7 @@ metadata:
     - network
     - volume
   next_steps:
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/alloy/template.yaml

@@ -20,6 +20,7 @@ metadata:
     provider: selfh
     id: grafana
   next_steps:
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/authentik/template.yaml

@@ -32,6 +32,7 @@ metadata:
   tags:
     - traefik
     - volume
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/bind9/template.yaml

@@ -19,6 +19,7 @@ metadata:
     provider: selfh
     id: bind-9
   draft: true
+schema: "1.2"
 spec:
   dns_security:
     title: dns_security

+ 1 - 0
library/compose/checkmk/template.yaml

@@ -25,6 +25,7 @@ metadata:
   date: '2025-12-10'
   tags:
     - traefik
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/dockge/template.yaml

@@ -17,6 +17,7 @@ metadata:
   date: '2025-09-28'
   tags:
     - traefik
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/gitea/template.yaml

@@ -22,6 +22,7 @@ metadata:
   date: '2025-12-19'
   tags:
     - traefik
+schema: "1.2"
 spec:
   general:
     vars:

+ 2 - 1
library/compose/gitlab-runner/template.yaml

@@ -18,4 +18,5 @@ metadata:
     id: gitlab
   draft: true
   next_steps: ""
-spec: {}
+schema: "1.2"
+spec:

+ 1 - 0
library/compose/gitlab/template.yaml

@@ -60,6 +60,7 @@ metadata:
     - Documentation: https://docs.gitlab.com/
     - GitLab Runner: https://docs.gitlab.com/runner/
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/grafana/template.yaml

@@ -24,6 +24,7 @@ metadata:
   tags:
     - traefik
     - authentik
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/homeassistant/template.yaml

@@ -17,6 +17,7 @@ metadata:
     id: home-assistant
   draft: true
   next_steps: ""
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/homepage/template.yaml

@@ -21,6 +21,7 @@ metadata:
     id: homepage
   draft: true
   next_steps: ""
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/homer/template.yaml

@@ -48,6 +48,7 @@ metadata:
        {%- endif %}
 
     For more information, visit: https://github.com/bastienwirtz/homer/blob/main/docs/configuration.md
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/influxdb/template.yaml

@@ -24,6 +24,7 @@ metadata:
   tags:
     - traefik
   draft: true
+schema: "1.2"
 spec:
   ports:
     vars:

+ 1 - 0
library/compose/komodo/template.yaml

@@ -60,6 +60,7 @@ metadata:
     * Add servers to Komodo through the web interface
     * Configure API keys for programmatic access
     * Start managing deployments, stacks, and builds
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/loki/template.yaml

@@ -18,6 +18,7 @@ metadata:
   tags:
     - traefik
     - authentik
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/mariadb/template.yaml

@@ -23,6 +23,7 @@ metadata:
   date: '2025-09-28'
   tags: []
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/n8n/template.yaml

@@ -30,6 +30,7 @@ metadata:
     - traefik
     - database
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/netbox/template.yaml

@@ -27,6 +27,7 @@ metadata:
     Username: admin
     Password: admin
     ```
+schema: "1.2"
 spec:
   database:
     vars:

+ 1 - 0
library/compose/nextcloud/template.yaml

@@ -22,6 +22,7 @@ metadata:
   tags:
     - traefik
   draft: true
+schema: "1.2"
 spec:
   database:
     required: true

+ 1 - 0
library/compose/nginx/template.yaml

@@ -21,6 +21,7 @@ metadata:
     - traefik
     - swarm
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/openwebui/template.yaml

@@ -24,6 +24,7 @@ metadata:
     - traefik
     - authentik
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/pangolin/template.yaml

@@ -52,6 +52,7 @@ metadata:
     ### 4. Configure WireGuard Clients
     * Use the Pangolin web interface to create and manage WireGuard tunnels
     * Deploy Newt client on remote machines to establish secure connections
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/passbolt/template.yaml

@@ -19,6 +19,7 @@ metadata:
     - traefik
     - database
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/pihole/template.yaml

@@ -30,6 +30,7 @@ metadata:
     Username: admin
     Password: {{ webpassword }}
     ```
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/portainer/template.yaml

@@ -20,6 +20,7 @@ metadata:
     - traefik
     - swarm
     - volumes
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/postgres/template.yaml

@@ -21,6 +21,7 @@ metadata:
   tags:
     - swarm
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/prometheus/template.yaml

@@ -41,6 +41,7 @@ metadata:
     {% endif -%}
     3. Edit config/prometheus.yaml to add scrape targets
     4. Reload configuration: docker exec {{ container_name if not swarm_enabled else service_name }} kill -HUP 1
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/renovate/template.yaml

@@ -28,6 +28,7 @@ metadata:
     - traefik
     - swarm
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/semaphoreui/template.yaml

@@ -30,6 +30,7 @@ metadata:
     Username: {{ admin_user }}
     Password: {{ admin_pass }}
     ```
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/traefik/template.yaml

@@ -29,6 +29,7 @@ metadata:
     2. Start Traefik with Docker Compose from the project directory:
       `docker compose up -d`
     {% endif %}
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/twingate-connector/template.yaml

@@ -23,6 +23,7 @@ metadata:
   tags:
     - swarm
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/uptimekuma/template.yaml

@@ -20,6 +20,7 @@ metadata:
   date: '2025-10-31'
   tags: []
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/compose/whoami/template.yaml

@@ -22,6 +22,7 @@ metadata:
   tags:
     - traefik
     - swarm
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/helm/authentik/template.yaml

@@ -24,6 +24,7 @@ metadata:
   author: Christian Lempa
   date: '2025-01-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/helm/certmanager/template.yaml

@@ -20,6 +20,7 @@ metadata:
     id: lets-encrypt
   draft: true
   next_steps: ""
+schema: "1.2"
 spec:
   dns:
     title: DNS Configuration

+ 1 - 0
library/helm/longhorn/template.yaml

@@ -21,6 +21,7 @@ metadata:
     id: rancher-longhorn
   draft: true
   next_steps: ""
+schema: "1.2"
 spec:
   backup:
     title: Backup Configuration

+ 1 - 0
library/helm/netbox/template.yaml

@@ -20,6 +20,7 @@ metadata:
   author: Christian Lempa
   date: '2025-01-13'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/helm/portainer/template.yaml

@@ -24,6 +24,7 @@ metadata:
   author: Christian Lempa
   date: '2025-01-11'
   draft: true
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/helm/traefik/template.yaml

@@ -20,6 +20,7 @@ metadata:
     id: traefikproxy
   draft: true
   next_steps: ""
+schema: "1.2"
 spec:
   dashboard:
     title: Dashboard IngressRoute

+ 1 - 0
library/kubernetes/certmanager-certificate/template.yaml

@@ -21,6 +21,7 @@ metadata:
   version: 1.16.2
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/certmanager-clusterissuer/template.yaml

@@ -18,6 +18,7 @@ metadata:
   version: 1.16.2
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/certmanager-issuer/template.yaml

@@ -21,6 +21,7 @@ metadata:
   version: 1.16.2
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-configmap/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-ingress/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-ingressclass/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-persistentvolume/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-persistentvolumeclaim/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-secret/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-service/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-serviceaccount/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/core-storageclass/template.yaml

@@ -16,6 +16,7 @@ metadata:
   version: 1.31.0
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/traefik-ingressroute/template.yaml

@@ -18,6 +18,7 @@ metadata:
   version: 3.5.3
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/traefik-ingressroutetcp/template.yaml

@@ -21,6 +21,7 @@ metadata:
   version: 3.5.3
   author: Christian Lempa
   date: '2025-01-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/traefik-middleware/template.yaml

@@ -20,6 +20,7 @@ metadata:
     id: traefik
   draft: false
   next_steps: ""
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/kubernetes/twingate-connector/template.yaml

@@ -18,6 +18,7 @@ metadata:
     id: twingate
   draft: false
   next_steps: ""
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/packer/proxmox-iso-ubuntu/template.yaml

@@ -24,6 +24,7 @@ metadata:
   version: 1.11.2
   author: Christian Lempa
   date: '2024-11-11'
+schema: "1.2"
 spec:
   general:
     vars:

+ 1 - 0
library/terraform/cloudflare-dns-record/template.yaml

@@ -18,6 +18,7 @@ metadata:
     id: cloudflare
   draft: false
   next_steps: ""
+schema: "1.2"
 spec:
   comment:
     title: Comment

+ 1 - 0
library/terraform/cloudflare-ztna-application/template.yaml

@@ -18,6 +18,7 @@ metadata:
     id: cloudflare
   draft: false
   next_steps: ""
+schema: "1.2"
 spec:
   application:
     title: Application

+ 1 - 0
library/terraform/dns-a-record/template.yaml

@@ -18,6 +18,7 @@ metadata:
     id: bind-9
   draft: false
   next_steps: ""
+schema: "1.2"
 spec:
   addresses:
     title: IP Addresses

+ 1 - 0
library/terraform/netbox-vm/template.yaml

@@ -18,6 +18,7 @@ metadata:
   version: 5.0.0
   author: Christian Lempa
   date: '2025-12-02'
+schema: "1.2"
 spec:
   general:
     vars: