Skip to content

Commit

Permalink
feat(grafana): refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzlyn committed Apr 3, 2024
1 parent a9a8b77 commit 13a4c2e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ datasources:
- name: GitHub
type: grafana-github-datasource
jsonData:
owner: "tyriis"
repository: "home-ops"
owner: tyriis
repository: home-ops
secureJsonData:
accessToken: ${SECRET_GH_PAT}
accessToken: $GITHUB_PAT
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
apiVersion: v1
kind: Secret
metadata:
name: grafana-auth-google
name: grafana-env
stringData:
GF_AUTH_GOOGLE_CLIENT_ID: ENC[AES256_GCM,data:EaJ5MS9jmXKZ1gbBwJU8xL09E95Lzog/ncqnq8+TYC/e27JpcE4LdQC2ZwjIWPcTDuUM5m7NpjMzUzIvISXoOJdDSxe/waRr,iv:Oub/mmnsIBGMB4GMMvL2eUK7Uz4XgHdIIdPiAeFuiXY=,tag:gKByk2mmlmJc5+yJmkXcAQ==,type:str]
GF_AUTH_GOOGLE_CLIENT_SECRET: ENC[AES256_GCM,data:YLlBwyOWV0zksdQoc2Rp0GrNxXCBtsxbvhPSSBHy/By4djo=,iv:sHFcGqQj6Ak0GvA+I7guGLPY40bHO3re7XPV2xsToPA=,tag:1Ns/P/xXdUpNS6iYjv4Rxw==,type:str]
GITHUB_PAT: ENC[AES256_GCM,data:XkHDWOs2UQP3yT5NwiilDrDTOK7NDNAKWBqF4wuY31yA2TW70Vqfjg==,iv:SgHDC9NTU5bVpJNIX9DxwKo6WgNLs6T1Kjsi7T0HpcQ=,tag:E967XwHdFfwU0ERYYMIetQ==,type:str]
sops:
kms: []
gcp_kms: []
Expand All @@ -21,8 +22,8 @@ sops:
eUQwcWJxQWZIUkRsb291SHpGSDhqT1EKgTQ1qSb4D0VNoXTiTkz9sHrHFPNHcPCW
IQ8/QYEA6iWVt+v8s+ATb2OaLZhha5FgwCOGVyIv6GJLP1kBlz8RwQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-04-03T20:17:40Z"
mac: ENC[AES256_GCM,data:JQr1hrOpDMRAuxbA/7I6aJgQ5ReLfwqPW3SvgVvUVcJXeWTPt9xvYRUrUBzqunfiJ6wZKRCkuSZ5uRthlDwR2fAVqxbFjAhUxWuld7P5fZs6u63Qx/+cgd8WkLZZ8ikNI249eDn0rzTo1UfGSI4eAozejvCufyuGh/L+o2MCKQc=,iv:o557kvzdsWv+3VkT+WH1i0iyhxFc2sR1FIO8hlzSfIU=,tag:lzVtBxhbs5aRA7XhCnfS/Q==,type:str]
lastmodified: "2024-04-03T20:30:42Z"
mac: ENC[AES256_GCM,data:7isbGbxz0t0NxjhGER9Mq/TWUK20My9Z4b0yYcD1SWJ+toAGH36NmxC2i36bChU16d0ZPanlW6wmUL7O+1Ihvp/5tQyFp7ZW+6cPIAhWekdFYOrFk68pfB+IlD/YYOt6HO6bmcfXispqyqDZkr9k8UgirsEt7sA36NMs/nByWXY=,iv:y7jqoj+G/HzAKXmY6yI82AEfwo/ueGw1p8gbS9/GkTA=,tag:QagM09nKrdiO/mCBFDOSzw==,type:str]
pgp: []
encrypted_regex: ^(data|stringData)$
version: 3.8.1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
TZ: ${SETTING_TZ}

envFromSecrets:
- name: grafana-auth-google
- name: grafana-env

admin:
existingSecret: grafana-admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Kustomization
namespace: observability
resources:
- grafana-admin.sops.yaml
- grafana-auth-google.sops.yaml
- grafana-env.sops.yaml
- helm-release.yaml
configMapGenerator:
- name: grafana-contactpoints
Expand Down

0 comments on commit 13a4c2e

Please sign in to comment.