42Crunch / scand-manager

Kubernetes Wrapper for 42Crunch Scan
GNU Affero General Public License v3.0
1 stars 0 forks source link

add imagePullSecrets option to podconfig #16

Closed markstubb closed 1 year ago

markstubb commented 1 year ago

This should allow the end user to use a -podconfig yaml to specify affinity and imagePullSecrets for the scand-agent pod that scand-manager launches.

markstubb commented 1 year ago

example podconfig.yml is

apiVersion: v1
kind: PodSpec
affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: scandallowed
          operator: In
          values:
          - "true"
imagePullSecrets:
  - name: secret1
  - name: secret2