---
apiVersion: netboxlabs.com/v1alpha1
kind: NetBoxEnterprise
metadata:
  name: netbox-managed
  namespace: default
spec:
  # suspended: true
  imagePullPolicy: IfNotPresent
  netbox:
    replicas: 1
    image:
      pullPolicy: IfNotPresent
    worker:
      replicas: 1
    # Optional: Provide custom Python configuration for NetBox
    # This is loaded after NetBox's configuration.py and allows you to
    # customize PLUGINS, PLUGINS_CONFIG, and other NetBox settings
    config:
      customPythonConfig: |
        # Example: Configure a custom plugin
        if 'PLUGINS_CONFIG' not in globals():
            PLUGINS_CONFIG = {}
        PLUGINS_CONFIG['my_plugin'] = {
          'setting': 'value',
          'another_setting': 'another_value'
        }
  diode:
    reconciler:
      replicas: 1
    ingester:
      replicas: 1
    auth:
      replicas: 1
    hydra:
      replicas: 1
  postgresql:
    external: false
    # storageClass: managed
    # storageSize: 4Gi
  redis:
    external: false
