apache/solr-operator

Add the ability to add Environment variables as a configmap

Ouverte

#677 ouverte le 19 janv. 2024

 (1 commentaire) (1 réaction) (0 personne assignée)Go (141 forks)auto 404
custom kube optionsenhancementgood first issue

Métriques du dépôt

Stars
 (280 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur