Skip to content

Commit

Permalink
fix: correct miscellaneous typos (#569)
Browse files Browse the repository at this point in the history
* fix: True up grafana installation

While re-deploying one of our environments, these small changes were
identified and are being backported to upstream for the grafana install.

* fix: update heat image urls for octavia
  • Loading branch information
LukeRepko authored Nov 15, 2024
1 parent 69ea676 commit 215f0bb
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 23 deletions.
14 changes: 7 additions & 7 deletions base-helm-configs/octavia/octavia-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ labels:
images:
tags:
test: "quay.io/rackspace/rackerlabs-xrally-openstack:2.0.0"
bootstrap: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
db_init: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
db_drop: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
bootstrap: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
db_init: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
db_drop: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
rabbit_init: "quay.io/rackspace/rackerlabs-rabbitmq:3.13-management"
ks_user: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_service: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_endpoints: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_user: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_service: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_endpoints: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
dep_check: "quay.io/rackspace/rackerlabs-kubernetes-entrypoint:v1.0.0"
image_repo_sync: "quay.io/rackspace/rackerlabs-docker:17.07.0"
octavia_db_sync: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_api: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_worker: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_housekeeping: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_health_manager: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_health_manager_init: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
octavia_health_manager_init: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
openvswitch_vswitchd: docker.io/kolla/centos-source-openvswitch-vswitchd:rocky
pull_policy: "IfNotPresent"
local_registry:
Expand Down
6 changes: 3 additions & 3 deletions base-kustomize/grafana/base/azure-client-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiversion: v1
apiVersion: v1
data:
client_id: base64_encoded_client_id
client_secret: base64_encoded_client_secret
kind: secret
kind: Secret
metadata:
name: azure-client
namespace: grafana
type: opaque
type: Opaque
4 changes: 2 additions & 2 deletions base-kustomize/grafana/base/datasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ datasources:
datasources.yaml:
apiversion: 1
datasources:
- name: prometheus
- name: Prometheus
type: prometheus
access: proxy
url: http://kube-prometheus-stack-prometheus.prometheus.svc.cluster.local:9090
isdefault: true
- name: loki
- name: Loki
type: loki
access: proxy
url: http://loki-gateway.{{ $.Release.Namespace }}.svc.cluster.local:80
Expand Down
24 changes: 13 additions & 11 deletions base-kustomize/grafana/base/grafana-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,21 @@ tenant_id: 122333 # TODO: update this value to use your Azure Tenant ID

ingress:
enabled: false
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
path: /
pathType: ImplementationSpecific

hosts:
- "{{ .Values.custom_host }}" # Ref: custom_host variable above
tls:
- hosts:
- "{{ .Values.custom_host }}" # Ref: custom_host variable above
secretName: grafana-tls-public

image:
tag: "10.3.3"

extraSecretMounts:
- name: azure-client-secret-mount
secretName: azure-client
defaultMode: 0440
mountPath: /etc/secrets/azure-client
readOnly: true
- name: grafana-db-secret-mount
secretName: grafana-db
defaultMode: 0440
mountPath: /etc/secrets/grafana-db
readOnly: true
nodeSelector:
openstack-control-plane: enabled
grafana.ini:
Expand Down Expand Up @@ -56,3 +52,9 @@ grafana.ini:
allow_assign_grafana_admin: false
skip_org_role_sync: false
use_pkce: true
database:
type: mysql
host: mariadb-cluster-primary.openstack.svc:3306
user: $__file{/etc/secrets/grafana-db/username}
password: $__file{/etc/secrets/grafana-db/password}
name: grafana

0 comments on commit 215f0bb

Please sign in to comment.