Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-2219

Create token for the hive service accounts if running on non-openshift cluster.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • False
    • None
    • False

      Hiveadmission pod not start successfully on non-openshift cluster.

      In 1.24, service accounts don't get tokens created by default. Need to create them for the hive service accounts.

      https://itnext.io/big-change-in-k8s-1-24-about-serviceaccounts-and-their-secrets-4b909a4af4e0

       

      time="2023-05-09T14:27:57Z" level=error msg="error injecting certs" controller=hive error="no kubernetes.io/service-account-token secrets found"
      time="2023-05-09T14:27:57Z" level=error msg="error deploying HiveAdmission" controller=hive error="no kubernetes.io/service-account-token secrets found"
      time="2023-05-09T14:27:57Z" level=error msg="Reconciler error" controller=hive-controller error="no kubernetes.io/service-account-token secrets found" name=hive namespace= object=hive reconcileID=ede09400-41d9-4278-8ca7-2d306ce0e0c8

       

              efried.openshift Eric Fried
              mihuang@redhat.com Mingxia Huang
              Mingxia Huang Mingxia Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: