apache/solr-operator

Add the ability to add Environment variables as a configmap

開放

#677 建立於 2024年1月19日

 (1 則留言) (1 個反應) (0 位負責人)Go (141 個分叉)auto 404
custom kube optionsenhancementgood first issue

倉庫指標

星標
 (280 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南