apache/solr-operator

Add the ability to add Environment variables as a configmap

Aberta

#677 aberto em 19 de jan. de 2024

 (1 comentário) (1 reação) (0 responsável)Go (141 forks)auto 404
custom kube optionsenhancementgood first issue

Métricas do repositório

Stars
 (280 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador