Skip to content

Commit

Permalink
Add grafana admin to infisical secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Apr 23, 2024
1 parent 12d8480 commit 4bd2595
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ops/monitoring/templates/secret.yaml
@@ -0,0 +1,18 @@
apiVersion: secrets.infisical.com/v1alpha1
kind: InfisicalSecret
metadata:
name: grafana
namespace: faf-ops
spec:
authentication:
serviceToken:
serviceTokenSecretReference:
secretName: infisical-service-token
secretNamespace: faf-ops
secretsScope:
envSlug: {{.Values.infisicalSlug}}
secretsPath: "/grafana"
managedSecretReference:
secretName: grafana
secretNamespace: faf-ops
creationPolicy: "Owner"
5 changes: 5 additions & 0 deletions ops/monitoring/values.yaml
Expand Up @@ -16,6 +16,11 @@ victoria-metrics-k8s-stack:
security:
angular_support_enabled: false

admin:
existingSecret: grafana
userKey: admin-user
passwordKey: admin-password

dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
Expand Down

0 comments on commit 4bd2595

Please sign in to comment.