Add OneLab Helm chart, Argo CD Application, and GitOps values for k3s
Made-with: Cursor
This commit is contained in:
18
gitops/charts/onelab/templates/configmap-rabbit.yaml
Normal file
18
gitops/charts/onelab/templates/configmap-rabbit.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- $cfg := fromYaml (.Files.AsConfig) }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: onelab-rabbit-config
|
||||
labels:
|
||||
{{- include "onelab.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: {{ .Values.syncWaves.statefulDeps | quote }}
|
||||
data:
|
||||
rabbit.conf: |
|
||||
{{ index $cfg "rabbit.conf" | nindent 4 }}
|
||||
advanced.conf: |
|
||||
{{ index $cfg "advanced.conf" | nindent 4 }}
|
||||
enable_plugins: |
|
||||
{{ index $cfg "enable_plugins" | nindent 4 }}
|
||||
definitions.json: |
|
||||
{{ index $cfg "rabbit-definitions.json" | nindent 4 }}
|
||||
Reference in New Issue
Block a user