apiVersion: apps/v1
kind: Deployment
metadata:
  name: salt
spec:
  replicas: 1
  selector:
    matchLabels:
      app: salt
  template:
    metadata:
      labels:
        app: salt
    spec:
      containers:
      - name: salt-sensor
        image: saltsecurity/sensor:7.5.33
        imagePullPolicy: Always
        securityContext:
          capabilities:
            add: ["NET_RAW", "NET_ADMIN"]
        env:
        - name: SALT_TOKEN
          value: NjBmMDdhMmYyNjAwMDAzYWI5MDFiODRmOnhpbndlNHZpaTZyNHh1ZGhzdnRpMDE1dHYwdnhuMW01dDVscjJ2d2JrdGhrYnZ3dnpvODQzZHMzZ3dtdzR1bjI=
        - name: SALT_BACKEND_HOST
          value: "traffic-receiver.hybrid.svc.cluster.local"
        - name: SALT_HYBRID_MODE
          value: "true"
        - name: SALT_BACKEND_PORT
          value: "443"
        - name: SALT_WS_PORT
          value: "444"
        - name: SALT_SERVICES_PORTS
          value: "3831,3832,3833,3834,3835,3836"
        - name: SALT_SERVICES_HOST
          value: "services-proxy.hybrid.svc.cluster.local"
        - name: SALT_LOGS_URL
          value: "services-proxy.hybrid.svc.cluster.local:3831"
