apache/solr-operator

Add the ability to add Environment variables as a configmap

オープン

#677 opened on 2024/01/19

 (1 件のコメント) (1 件のリアクション) (0 人の担当者)Go (141 件のフォーク)auto 404
custom kube optionsenhancementgood first issue

Repository metrics

Stars
 (280 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド