Per-service extraEnv supports arbitrary YAML#103
Open
xrl wants to merge 3 commits intoquickwit-oss:mainfrom
Open
Per-service extraEnv supports arbitrary YAML#103xrl wants to merge 3 commits intoquickwit-oss:mainfrom
xrl wants to merge 3 commits intoquickwit-oss:mainfrom
Conversation
Author
|
I was able to stand up this branch in my kubernetes cluster with this argo application definition: apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: quickwit-tracing
namespace: argo
spec:
project: quickwit
syncPolicy:
automated:
prune: true
source:
repoURL: "https://github.com/xrl/quickwit-helm-charts.git"
path: charts/quickwit
targetRevision: per-service-env-from
helm:
releaseName: quickwit-tracing
values: |
fullnameOverride: quickwit-tracing
config:
storage:
s3:
region: eu-central-1
metastore:
extraEnv:
- name: QW_METASTORE_URI
valueFrom:
secretKeyRef:
name: quickwittracing-postgres-direct-secret
key: POSTGRES_URL
serviceAccount:
create: true
annotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::SECRET:role/quickwit-tracing"
destination:
server: https://kubernetes.default.svc
namespace: quickwit |
Author
|
I mention this work from a gist blog post on running Quickwit in an EKS Kube cluster: https://gist.github.com/xrl/43aba28f20fd0efbdf2ea3e58e5c5ded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I need the ability to map secrets to environment variables. Works towards #102 .
A value file like this:
yields these kinds of pod definitions:
note: it has the global values from
environmentbut also the service-specific overrides frommetastore.extraEnvand to demonstrate I can do the secret-as-env-value:
renders out: