mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-18 09:06:51 +02:00
Added AWS S3 access token to cluster_setup
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cluster_setup
|
name: cluster_setup
|
||||||
version: 0.2.0
|
version: 0.3.0
|
||||||
type: application
|
type: application
|
||||||
description: "Initial cluster setup"
|
description: "Initial cluster setup"
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -9,7 +9,7 @@ maintainers:
|
|||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: added
|
||||||
description: Added support for hcloud token
|
description: Added support for thanos AWS S3 token
|
||||||
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
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{{- if .Values.thanos.enabled }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
namespace: {{ .Values.thanos.namespace | default "observability" }}
|
||||||
|
name: thanos-object-storage-config
|
||||||
|
data:
|
||||||
|
thanos.yaml: |-
|
||||||
|
{{ tpl (.Files.Get "thanos.yaml") . | b64enc }}
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
type: s3
|
||||||
|
config:
|
||||||
|
bucket: {{ .Values.thanos.bucketName }}
|
||||||
|
endpoint: s3.{{ .Values.thanos.awsRegion }}.amazonaws.com
|
||||||
|
access_key: {{ .Values.thanos.accessKey }}
|
||||||
|
secret_key: {{ .Values.thanos.secretKey }}
|
||||||
@@ -9,4 +9,11 @@ hcloud:
|
|||||||
enabled: false
|
enabled: false
|
||||||
token: ""
|
token: ""
|
||||||
# if empty, hcloud will be used
|
# if empty, hcloud will be used
|
||||||
namespace: ""
|
namespace: ""
|
||||||
|
thanos:
|
||||||
|
enabled: true
|
||||||
|
namespace: ""
|
||||||
|
bucketName: ""
|
||||||
|
awsRegion: "eu-central-1"
|
||||||
|
accessKey: ""
|
||||||
|
secretKey: ""
|
||||||
Reference in New Issue
Block a user