Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #623 from alphagov/grafana-statefulset
Browse files Browse the repository at this point in the history
Prometheus rules and stateless grafana
  • Loading branch information
blairboy362 authored Oct 9, 2019
2 parents f2676de + ca6fbba commit dd8ad79
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 11 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions charts/gsp-cluster/charts/gsp-monitoring/requirements.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: prometheus-operator
repository: https://kubernetes-charts.storage.googleapis.com/
version: 5.14.1
digest: sha256:404f3a2678c2c158b3ebc3b55de6c1500c7c316aaeb7632779ec4de6f2bf97fd
generated: "2019-09-23T10:02:37.887745+01:00"
version: 6.14.1
digest: sha256:1c9fb5ddedb608f84faeceec9f7cd68e879e7e7c4fdc73c759bbdaaf9da43e67
generated: "2019-10-08T19:47:45.900925+01:00"
2 changes: 1 addition & 1 deletion charts/gsp-cluster/charts/gsp-monitoring/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies:
- name: "prometheus-operator"
version: 5.14.1
version: 6.14.1
repository: https://kubernetes-charts.storage.googleapis.com/
7 changes: 0 additions & 7 deletions charts/gsp-cluster/charts/gsp-monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,6 @@ prometheus-operator:
jsonData:
authType: credentials
defaultRegion: eu-west-2
persistence:
enabled: true
type: pvc
accessModes:
- ReadWriteOnce
size: 10Mi
storageClassName: gp2
env:
GF_AUTH_GOOGLE_ENABLED: "true"
GF_AUTH_GOOGLE_ALLOW_SIGN_UP: "true"
Expand Down
1 change: 1 addition & 0 deletions hack/lint-terraform-values-output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ helm template \
| sed 's/${bootstrap_role_arns}/[]/' \
| sed 's/${concourse_teams}/["org:team"]/' \
| sed 's/${egress_ip_addresses}/[]/' \
| sed 's/${eks_version}/1.14/' \
) \
--values output/values.yaml \
--set 'global.cloudHsm.enabled=true' \
Expand Down
1 change: 1 addition & 0 deletions modules/gsp-cluster/data/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ fluentd-cloudwatch:

gsp-monitoring:
prometheus-operator:
kubeTargetVersionOverride: "${eks_version}"
prometheus:
prometheusSpec:
externalLabels:
Expand Down
1 change: 1 addition & 0 deletions modules/gsp-cluster/values.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ data "template_file" "values" {
private_db_subnet_group = "${aws_db_subnet_group.private.id}"
external_dns_iam_role_name = "${aws_iam_role.external_dns.name}"
grafana_default_admin_password = "${random_password.grafana_default_admin_password.result}"
eks_version = "${var.eks_version}"

permitted_roles_regex = "^(${join("|", list(
aws_iam_role.cloudwatch_log_shipping_role.name,
Expand Down

0 comments on commit dd8ad79

Please sign in to comment.