Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reverting observability #228

Merged
merged 1 commit into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
app.kubernetes.io/name: karavi-metrics-powerflex
app.kubernetes.io/instance: {{ .Release.Name }}
name: karavi-metrics-powerflex
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
spec:
type: {{ .Values.karaviMetricsPowerflex.service.type }}
ports:
Expand All @@ -24,7 +24,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: karavi-metrics-powerflex
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
labels:
app.kubernetes.io/name: karavi-metrics-powerflex
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Release.Name }}-metrics-powermax-controller
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}

---

Expand Down Expand Up @@ -35,7 +35,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}-metrics-powermax-controller
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
roleRef:
kind: ClusterRole
name: {{ .Release.Name }}-metrics-powermax-controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
app.kubernetes.io/name: karavi-metrics-powermax
app.kubernetes.io/instance: {{ .Release.Name }}
name: karavi-metrics-powermax
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
spec:
type: {{ .Values.karaviMetricsPowermax.service.type }}
ports:
Expand All @@ -24,7 +24,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: karavi-metrics-powermax
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
labels:
app.kubernetes.io/name: karavi-metrics-powermax
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
app.kubernetes.io/name: karavi-metrics-powerscale
app.kubernetes.io/instance: {{ .Release.Name }}
name: karavi-metrics-powerscale
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
spec:
type: {{ .Values.karaviMetricsPowerscale.service.type }}
ports:
Expand All @@ -24,7 +24,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: karavi-metrics-powerscale
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
labels:
app.kubernetes.io/name: karavi-metrics-powerscale
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
app.kubernetes.io/name: karavi-metrics-powerstore
app.kubernetes.io/instance: {{ .Release.Name }}
name: karavi-metrics-powerstore
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
spec:
type: {{ .Values.karaviMetricsPowerstore.service.type }}
ports:
Expand All @@ -24,7 +24,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: karavi-metrics-powerstore
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
labels:
app.kubernetes.io/name: karavi-metrics-powerstore
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: karavi-metrics-powerflex-configmap
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
data:
karavi-metrics-powerflex.yaml : |
COLLECTOR_ADDR: {{ .Values.karaviMetricsPowerflex.collectorAddr }}
Expand All @@ -29,7 +29,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: karavi-topology-configmap
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
data:
karavi-topology.yaml: |
PROVISIONER_NAMES: {{ .Values.karaviTopology.provisionerNames }}
Expand All @@ -49,7 +49,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: karavi-metrics-powerstore-configmap
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
data:
karavi-metrics-powerstore.yaml : |
COLLECTOR_ADDR: {{ .Values.karaviMetricsPowerstore.collectorAddr }}
Expand All @@ -76,7 +76,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: karavi-metrics-powerscale-configmap
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
data:
karavi-metrics-powerscale.yaml : |
COLLECTOR_ADDR: {{ .Values.karaviMetricsPowerscale.collectorAddr }}
Expand All @@ -103,7 +103,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: karavi-metrics-powermax-configmap
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
data:
karavi-metrics-powermax.yaml : |
COLLECTOR_ADDR: {{ .Values.karaviMetricsPowermax.collectorAddr }}
Expand Down
4 changes: 2 additions & 2 deletions charts/karavi-observability/templates/karavi-topology.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
app.kubernetes.io/name: karavi-topology
app.kubernetes.io/instance: {{ .Release.Name }}
name: karavi-topology
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
spec:
type: {{ .Values.karaviTopology.service.type }}
ports:
Expand All @@ -24,7 +24,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: karavi-topology
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
labels:
app.kubernetes.io/name: karavi-topology
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
8 changes: 4 additions & 4 deletions charts/karavi-observability/templates/otel-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
kind: ConfigMap
metadata:
name: otel-collector-config
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}

---

Expand All @@ -16,15 +16,15 @@ data:
kind: ConfigMap
metadata:
name: nginx-config
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}

---

apiVersion: v1
kind: Service
metadata:
name: otel-collector
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
labels:
app.kubernetes.io/name: otel-collector
app.kubernetes.io/instance: {{ .Release.Name }}
Expand All @@ -47,7 +47,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: otel-collector
namespace: {{ .Release.Namespace }}
namespace: {{ include "custom.namespace" . }}
labels:
app.kubernetes.io/name: otel-collector
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
14 changes: 8 additions & 6 deletions charts/karavi-observability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ karaviMetricsPowerflex:
authorization:
enabled: false
# sidecarProxyImage: the container image used for the csm-authorization-sidecar.
# Default value: dellemc/csm-authorization-sidecar:v1.7.0
sidecarProxyImage: dellemc/csm-authorization-sidecar:v1.7.0
# Default value: dellemc/csm-authorization-sidecar:v1.6.0
sidecarProxyImage: dellemc/csm-authorization-sidecar:v1.6.0
# proxyHost: hostname of the csm-authorization server
# Default value: None
proxyHost:
Expand Down Expand Up @@ -116,8 +116,8 @@ karaviMetricsPowerscale:
authorization:
enabled: false
# sidecarProxyImage: the container image used for the csm-authorization-sidecar.
# Default value: dellemc/csm-authorization-sidecar:v1.7.0
sidecarProxyImage: dellemc/csm-authorization-sidecar:v1.7.0
# Default value: dellemc/csm-authorization-sidecar:v1.6.0
sidecarProxyImage: dellemc/csm-authorization-sidecar:v1.6.0
# proxyHost: hostname of the csm-authorization server
# Default value: None
proxyHost:
Expand Down Expand Up @@ -153,8 +153,8 @@ karaviMetricsPowermax:
authorization:
enabled: false
# sidecarProxyImage: the container image used for the csm-authorization-sidecar.
# Default value: dellemc/csm-authorization-sidecar:v1.7.0
sidecarProxyImage: dellemc/csm-authorization-sidecar:v1.7.0
# Default value: dellemc/csm-authorization-sidecar:v1.6.0
sidecarProxyImage: dellemc/csm-authorization-sidecar:v1.6.0
# proxyHost: hostname of the csm-authorization server
# Default value: None
proxyHost:
Expand All @@ -178,3 +178,5 @@ cert-manager:
enabled: false
serviceAccount:
create: false
# Optionally, uncomment and specify the name of the pre-created namespace to install the module in it
# namespace: