apache/solr-operator

Add the ability to add Environment variables as a configmap

Aperta

#677 aperta il 19 gen 2024

 (1 commento) (1 reazione) (0 assegnatari)Go (141 fork)auto 404
custom kube optionsenhancementgood first issue

Metriche repository

Star
 (280 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Statefulsets have the option to add Environment variables as configmaps like so...

apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: my-statefulset
spec:
  replicas: 1
  template:
    spec:
      containers:
      - name: my-app-container
        image: your-image:tag
        envFrom:
        - configMapRef:
            name: my-app-config

Currently the SolrCloud config only supports adding additional EnvVariables in line.

Guida contributor