Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-2651

Add to helm chart the housekeeper partition job

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • IOP-POC-0.1
    • None
    • None

      The ClowdApp installs a schedule job to responsible for deleting ros-ocp partitions.

      Same job needs to be added to the helm chart.
       

      jobs: -name:delete-rosocp-partitions
       schedule:${PARTITION_DELETE_INTERVAL}
       podSpec:
         name:rosocpcronjob
         image:${IMAGE}:${IMAGE_TAG}
         imagePullPolicy:Always
         restartPolicy:OnFailure
         command: ["sh"] args: ["-c", "./rosocp db migrate up && ./rosocp start housekeeper --partitions"]
         env:
           -name:CLOWDER_ENABLED
            value:${CLOWDER_ENABLED}
           -name:SSL_CERT_DIR
            value:${SSL_CERT_DIR}
           -name:SERVICE_NAME
            value:"rosocp-housekeeper-partition"
           -name:CW_LOG_STREAM_NAME
            value:"rosocp-housekeeper"
           -name:LOG_LEVEL
            value:${LOG_LEVEL}

       
       

              rh-ee-masayag Moti Asayag
              rh-ee-masayag Moti Asayag
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: