Skip to content

Commit

Permalink
loki fix and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed May 21, 2023
1 parent f58e49d commit 992ce41
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 256 deletions.
34 changes: 0 additions & 34 deletions argocd/foundation/app-yamls/certmanager-app.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions argocd/foundation/app-yamls/consul-app.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions argocd/foundation/app-yamls/external-dns-app.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions argocd/foundation/app-yamls/ingress-app.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions argocd/foundation/app-yamls/stateful-services-app.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions argocd/foundation/app-yamls/storage-app.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions argocd/foundation/app-yamls/vault-app.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: v2
version: 1.0.0
name: loki
dependencies:
- name: loki
- name: loki-chart
version: ${loki_chart_version}
repository: ${loki_chart_repo}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
loki:
loki-chart:
grafana:
enabled: true
admin:
Expand All @@ -18,9 +18,9 @@ loki:
enabled: ${enable_oidc}
allow_sign_up: true
scopes: read_api
auth_url: https://${gitlab_server_url}/oauth/authorize
token_url: https://${gitlab_server_url}/oauth/token
api_url: https://${gitlab_server_url}/api/v4
auth_url: ${gitlab_server_url}/oauth/authorize
token_url: ${gitlab_server_url}/oauth/token
api_url: ${gitlab_server_url}/api/v4
allowed_groups: ${groups}
client_id: ${client_id}
client_secret: ${client_secret}
Expand All @@ -43,7 +43,7 @@ loki:
enabled: true
ingressClassName: ${ingress_class}
hosts:
- host: grafana.${public_subdomain}
- grafana.${public_subdomain}
tls:
- hosts:
- "*.${public_subdomain}"
Expand All @@ -66,11 +66,4 @@ loki:
config:
table_manager:
retention_deletes_enabled: true
retention_period: 72h

promtail:
image:
registry: docker.io
repository: grafana/promtail
tag: 2.4.2
pullPolicy: IfNotPresent
retention_period: 72h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
serviceAccount:
name: default
isKVSecretsEngineV2: false
path: "grafana/admin"
path: /secret/grafana/
secretKey: password
secretFormat:
passwordPolicyName: "grafana-admin"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: redhatcop.redhat.io/v1alpha1
kind: VaultSecret
metadata:
name: ${admin_secret}
name: grafana-admin-secret
spec:
refreshPeriod: 1m0s
vaultSecretDefinitions:
Expand All @@ -10,11 +10,11 @@ spec:
role: policy-admin
serviceAccount:
name: default
name: grafanapw
path: grafana/admin
name: grafanaadmin
path: /secret/grafana/grafana-admin
output:
name: ${admin_secret}
name: grafana-admin-secret
stringData:
${admin_secret_user_key}: ${admin_user_name}
${admin_secret_pw_key}: '{{ .grafanapw.password }}'
admin-user: grafana-admin
admin-pw: '{{ .grafanaadmin.password }}'
type: Opaque

0 comments on commit 992ce41

Please sign in to comment.