diff --git a/charts/opencti/ci/ci-values.yaml b/charts/opencti/ci/ci-values.yaml index 3e1839b..9eca0ab 100644 --- a/charts/opencti/ci/ci-values.yaml +++ b/charts/opencti/ci/ci-values.yaml @@ -24,6 +24,38 @@ env: testConnection: false +connectors: +- name: alienvault + enabled: true + replicas: 1 + image: {} + deploymentAnnotations: + ci: "true" + podAnnotations: + ci: "true" + env: + CONNECTOR_CONFIDENCE_LEVEL: "" + CONNECTOR_ID: "" + CONNECTOR_UPDATE_EXISTING_DATA: "" + CONNECTOR_LOG_LEVEL: "" + ALIENVAULT_BASE_URL: "" + ALIENVAULT_API_KEY: "" + ALIENVAULT_TLP: "" + ALIENVAULT_CREATE_OBSERVABLES: "" + ALIENVAULT_CREATE_INDICATORS: "" + ALIENVAULT_PULSE_START_TIMESTAMP: "" + ALIENVAULT_REPORT_TYPE: "" + ALIENVAULT_REPORT_STATUS: "" + ALIENVAULT_GUESS_MALWARE: "" + ALIENVAULT_GUESS_CVE: "" + ALIENVAULT_EXCLUDED_PULSE_INDICATOR_TYPES: "" + ALIENVAULT_ENABLE_RELATIONSHIPS: "" + ALIENVAULT_ENABLE_ATTACK_PATTERNS_INDICATES: "" + ALIENVAULT_INTERVAL_SEC: "" + CONNECTOR_NAME: "AlienVault" + CONNECTOR_SCOPE: "alienvault" + CONNECTOR_TYPE: EXTERNAL_IMPORT + serviceMonitor: enabled: false diff --git a/charts/opencti/templates/connector/deployment.yaml b/charts/opencti/templates/connector/deployment.yaml index 2d2c333..f1fce58 100644 --- a/charts/opencti/templates/connector/deployment.yaml +++ b/charts/opencti/templates/connector/deployment.yaml @@ -7,6 +7,10 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ $connectorName }}-connector-{{ include "opencti.fullname" $ }} + {{- with .deploymentAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} labels: opencti.connector: {{ $connectorName }} {{- include "opencti.labels" $ | nindent 4 }} @@ -22,7 +26,7 @@ spec: metadata: {{- with .podAnnotations }} annotations: - {{- toYaml $ | nindent 8 }} + {{- toYaml . | nindent 8 }} {{- end }} labels: opencti.connector: {{ $connectorName }} diff --git a/charts/opencti/values.yaml b/charts/opencti/values.yaml index 62d6e9f..7e8eed6 100644 --- a/charts/opencti/values.yaml +++ b/charts/opencti/values.yaml @@ -259,6 +259,8 @@ connectors: [] # # Plain vars # # foo: bar # # my_env: my_value +# # -- Deployment annotations +# deploymentAnnotations: {} # # -- Pod annotations # podAnnotations: {} # # -- Secrets from variables