Skip to content

Conversation

@HoustonPutman
Copy link
Contributor

@HoustonPutman HoustonPutman commented Jul 14, 2021

Resolves #264

The option will be available for:

  • SolrCloud pods
  • Provided ZK Cluster pods
  • SolrPrometheusExporter pods

SolrCloud CRD

spec:
  customSolrKubeOptions:
    podOptions:
      serviceAccountName: "...."
  zookeeperRef:
    provided:
      zookeeperPodPolicy:
        serviceAccountName: "...."

SolrPrometheusExporter CRD

spec:
  customKubeOptions:
    podOptions:
      serviceAccountName: "...."

This is enabled multiple places in the Solr Helm Chart:

# Set the default service account for all pods (Solr & ZK)
# Will be overriden if Solr or ZK Specific options are provided below
serviceAccount:
  # Create a service account with the following name, with the helm deployment name as the default
  create: false
  name: ""

# Option for only setting the Solr Pod service account
podOptions:
  serviceAccountName: ""

# Option for only setting the ZK Pod service account
zk:
  provided:
    zookeeperPodPolicy:
      serviceAccountName: ""

@HoustonPutman HoustonPutman merged commit e39b114 into apache:main Jul 20, 2021
@HoustonPutman HoustonPutman deleted the custom-service-account branch July 20, 2021 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specifiy/Create a service account used by the created SolrCloud

1 participant