-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
charts/karavi-observability Karavi observability release v1.3.0 (#143)
* Update otel-collector-config.yaml updated tls settings for otel * Update Chart.yaml increment helm chart version * Update otel-collector-config.yaml updating correct tls settings * Update otel-collector-config.yaml update tls settings * update observability metric service immage taags for CSM .3 release (#124) * align authorization sidecar with CSM 1.3 release (#126) * add support for PowerScale topology (#123) * Rollback otel-collecter image version to 0.42.0 (#131) * Update code owners list (#132) * Add more code owners * chart/csm-authorization: Release v1.3.0 updates (#128) * [charts/csm-authorization] feature-261: Authorization helm chart (#109) * use 1.3.0 (#125) Co-authored-by: Aaron Tye <tyeaaron@gmail.com> Co-authored-by: EvgenyUglov <63835199+EvgenyUglov@users.noreply.github.com> Co-authored-by: sharmilarama <72404078+sharmilarama@users.noreply.github.com> Co-authored-by: Aaron Tye <tyeaaron@gmail.com> Co-authored-by: EvgenyUglov <63835199+EvgenyUglov@users.noreply.github.com> * Correct codeowners format (#133) * add support for csm-metrics-powerscale (#129) Add powerscale configuration to support csm-metrics-powerscale: - Add karavi-metrics-powerscale.yaml, karavi-metrics-powerscale.yaml; - Add pscale configuration to karavi-observability-configmap.yaml, values.yaml, cert-manager.yaml and NOTES.txt. * Adjust PowerScale polling enable and frequency (#134) The new enable and frequency are: capacityMetricsEnabled: "true" performanceMetricsEnabled: "true" clusterCapacityPollFrequencySeconds: 30 clusterPerformancePollFrequencySeconds: 20 quotaCapacityPollFrequencySeconds: 30 Co-authored-by: Yiming Bao <yiming.bao@emc.com> * enable authorization for csm observability powerscale (#135) * Update Authorization sidecar image to 1.4.0 (#138) * Update observability image tags for CSM 1.4 release (#142) Co-authored-by: Yiming Bao <yiming.bao@dell.com> Co-authored-by: hoppea2 <33433874+hoppea2@users.noreply.github.com> Co-authored-by: shaynafinocchiaro <66699024+shaynafinocchiaro@users.noreply.github.com> Co-authored-by: Sharmila Ramamoorthy <sharmila.ramamoorthy@dell.com> Co-authored-by: YianZong <63342088+YianZong@users.noreply.github.com> Co-authored-by: taohe1012 <88763781+taohe1012@users.noreply.github.com> Co-authored-by: sharmilarama <72404078+sharmilarama@users.noreply.github.com> Co-authored-by: Aaron Tye <tyeaaron@gmail.com> Co-authored-by: EvgenyUglov <63835199+EvgenyUglov@users.noreply.github.com> Co-authored-by: baoy1 <105041111+baoy1@users.noreply.github.com> Co-authored-by: Yiming Bao <yiming.bao@emc.com> Co-authored-by: bjiang27 <105997542+bjiang27@users.noreply.github.com> Co-authored-by: Yiming Bao <yiming.bao@dell.com>
- Loading branch information
1 parent
4579622
commit 2154435
Showing
8 changed files
with
273 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
charts/karavi-observability/templates/karavi-metrics-powerscale-service-account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{{ if .Values.karaviMetricsPowerscale.enabled }} | ||
|
||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ .Release.Name }}-metrics-powerscale-controller | ||
namespace: {{ .Release.Namespace }} | ||
|
||
--- | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ .Release.Name }}-metrics-powerscale-controller | ||
rules: | ||
- apiGroups: ["storage.k8s.io"] | ||
resources: ["csinodes", "storageclasses"] | ||
verbs: ["get", "list", "watch"] | ||
- apiGroups: [""] | ||
resources: ["persistentvolumes", "nodes"] | ||
verbs: ["list"] | ||
- apiGroups: [""] | ||
resources: ["endpoints"] | ||
verbs: ["*"] | ||
|
||
--- | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ .Release.Name }}-metrics-powerscale-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ .Release.Name }}-metrics-powerscale-controller | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
kind: ClusterRole | ||
name: {{ .Release.Name }}-metrics-powerscale-controller | ||
apiGroup: rbac.authorization.k8s.io | ||
|
||
{{ end }} | ||
|
131 changes: 131 additions & 0 deletions
131
charts/karavi-observability/templates/karavi-metrics-powerscale.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{{ if .Values.karaviMetricsPowerscale.enabled }} | ||
|
||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: karavi-metrics-powerscale | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
name: karavi-metrics-powerscale | ||
spec: | ||
type: {{ .Values.karaviMetricsPowerscale.service.type }} | ||
ports: | ||
- name: karavi-metrics-powerscale | ||
port: 8080 | ||
targetPort: 8080 | ||
selector: | ||
app.kubernetes.io/name: karavi-metrics-powerscale | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
|
||
--- | ||
|
||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: karavi-metrics-powerscale | ||
labels: | ||
app.kubernetes.io/name: karavi-metrics-powerscale | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- if hasKey .Values "karaviMetricsPowerscale.authorization" }} | ||
{{- if eq .Values.karaviMetricsPowerscale.authorization.enabled true }} | ||
annotations: | ||
com.dell.karavi-authorization-proxy: "true" | ||
{{ end }} | ||
{{ end }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: karavi-metrics-powerscale | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
replicas: 1 | ||
strategy: {} | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: karavi-metrics-powerscale | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
spec: | ||
serviceAccount: {{ .Release.Name }}-metrics-powerscale-controller | ||
containers: | ||
- name: karavi-metrics-powerscale | ||
image: {{ .Values.karaviMetricsPowerscale.image }} | ||
resources: {} | ||
env: | ||
- name: POWERSCALE_METRICS_ENDPOINT | ||
value: "{{ .Values.karaviMetricsPowerscale.endpoint }}" | ||
- name: POWERSCALE_METRICS_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
- name: TLS_ENABLED | ||
value: "true" | ||
volumeMounts: | ||
- name: isilon-creds | ||
mountPath: /isilon-creds | ||
- name: tls-secret | ||
mountPath: /etc/ssl/certs | ||
readOnly: true | ||
- name: karavi-metrics-powerscale-configmap | ||
mountPath: /etc/config | ||
{{- if hasKey .Values.karaviMetricsPowerscale "authorization" }} | ||
{{- if eq .Values.karaviMetricsPowerscale.authorization.enabled true }} | ||
- name: karavi-authorization-proxy | ||
imagePullPolicy: IfNotPresent | ||
image: {{ required "Must provide the authorization sidecar container image." .Values.karaviMetricsPowerscale.authorization.sidecarProxyImage }} | ||
env: | ||
- name: PROXY_HOST | ||
value: "{{ .Values.karaviMetricsPowerscale.authorization.proxyHost }}" | ||
- name: SKIP_CERTIFICATE_VALIDATION | ||
value: "{{ .Values.karaviMetricsPowerscale.authorization.skipCertificateValidation }}" | ||
- name: PLUGIN_IDENTIFIER | ||
value: powerscale | ||
- name: ACCESS_TOKEN | ||
valueFrom: | ||
secretKeyRef: | ||
name: isilon-proxy-authz-tokens | ||
key: access | ||
- name: REFRESH_TOKEN | ||
valueFrom: | ||
secretKeyRef: | ||
name: isilon-proxy-authz-tokens | ||
key: refresh | ||
volumeMounts: | ||
- name: karavi-authorization-config | ||
mountPath: /etc/karavi-authorization/config | ||
- name: proxy-server-root-certificate | ||
mountPath: /etc/karavi-authorization/root-certificates | ||
- name: isilon-config-params | ||
mountPath: /etc/karavi-authorization | ||
{{ end }} | ||
{{ end }} | ||
volumes: | ||
- name: isilon-creds | ||
secret: | ||
secretName: isilon-creds | ||
- name: tls-secret | ||
secret: | ||
secretName: otel-collector-tls | ||
items: | ||
- key: tls.crt | ||
path: cert.crt | ||
- name: karavi-metrics-powerscale-configmap | ||
configMap: | ||
name: karavi-metrics-powerscale-configmap | ||
{{- if hasKey .Values.karaviMetricsPowerscale "authorization" }} | ||
{{- if eq .Values.karaviMetricsPowerscale.authorization.enabled true }} | ||
- name: karavi-authorization-config | ||
secret: | ||
secretName: isilon-karavi-authorization-config | ||
- name: proxy-server-root-certificate | ||
secret: | ||
secretName: isilon-proxy-server-root-certificate | ||
- name: isilon-config-params | ||
configMap: | ||
name: isilon-config-params | ||
{{ end }} | ||
{{ end }} | ||
restartPolicy: Always | ||
status: {} | ||
|
||
{{ end }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters