mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
feat(cluster_setup): Use secret in multiple namespaces
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cluster_setup
|
name: cluster_setup
|
||||||
version: 0.4.1
|
version: 0.5.0
|
||||||
type: application
|
type: application
|
||||||
description: "Initial cluster setup"
|
description: "Initial cluster setup"
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -8,8 +8,8 @@ maintainers:
|
|||||||
url: https://2martens.de
|
url: https://2martens.de
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: added
|
||||||
description: Fixed network policies
|
description: Added ability to use secret in multiple namespaces
|
||||||
artifacthub.io/signKey: |
|
artifacthub.io/signKey: |
|
||||||
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
||||||
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
||||||
|
|||||||
@@ -7,11 +7,12 @@ metadata:
|
|||||||
{{- include "template.labels" . | nindent 4 }}
|
{{- include "template.labels" . | nindent 4 }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- include "template.annotations" . | nindent 4 }}
|
{{- include "template.annotations" . | nindent 4 }}
|
||||||
|
{{- range .Values.thanos.secretNamespaces }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
namespace: {{ .Values.thanos.namespace | default "observability" }}
|
namespace: {{ .name | default "observability" }}
|
||||||
name: thanos-object-storage-config
|
name: thanos-object-storage-config
|
||||||
labels:
|
labels:
|
||||||
{{- include "template.labels" . | nindent 4 }}
|
{{- include "template.labels" . | nindent 4 }}
|
||||||
@@ -19,5 +20,6 @@ metadata:
|
|||||||
{{- include "template.annotations" . | nindent 4 }}
|
{{- include "template.annotations" . | nindent 4 }}
|
||||||
data:
|
data:
|
||||||
thanos.yaml: |-
|
thanos.yaml: |-
|
||||||
{{ tpl (.Files.Get "thanos.yaml") . | b64enc }}
|
{{ tpl ($.Files.Get "thanos.yaml") . | b64enc }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -17,5 +17,6 @@ thanos:
|
|||||||
awsRegion: "eu-central-1"
|
awsRegion: "eu-central-1"
|
||||||
accessKey: ""
|
accessKey: ""
|
||||||
secretKey: ""
|
secretKey: ""
|
||||||
|
secretNamespaces: []
|
||||||
cilium:
|
cilium:
|
||||||
enabled: false
|
enabled: false
|
||||||
Reference in New Issue
Block a user