Compare commits

...

4 Commits

Author SHA1 Message Date
1007982a78 [vsphere-influxdb-go] Fix default configmap (#23) 2021-07-02 14:09:40 +01:00
renovate[bot]
bea73339d5 Update helm/chart-releaser-action action to v1.2.1 (#20)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 09:24:41 +01:00
renovate[bot]
644cf70b31 Add renovate.json (#18)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 09:23:27 +01:00
d929f18571 [idrac6] Use secrets for iDRAC login details (#16) 2021-05-21 12:31:30 +01:00
9 changed files with 45 additions and 11 deletions

View File

@@ -25,7 +25,7 @@ jobs:
version: v3.4.0
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
uses: helm/chart-releaser-action@v1.2.1
with:
charts_repo_url: https://nikdoof.github.io/helm-charts
env:

View File

@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: '0.5'
description: iDRAC 6 web interface and VNC proxy
name: idrac6
version: 0.0.1
version: 0.0.2
keywords:
- dell
- idrac

View File

@@ -1,5 +1,5 @@
---
idrac:
host: test
user: root
username: root
password: calvin

View File

@@ -62,11 +62,20 @@ spec:
- name: GROUP_ID
value: "{{ .Values.pgid }}"
- name: IDRAC_HOST
value: "{{ .Values.idrac.host }}"
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecretName | default (printf "%s-secret" (include "idrac6.fullname" .)) }}
key: idrac.host
- name: IDRAC_USER
value: "{{ .Values.idrac.user }}"
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecretName | default (printf "%s-secret" (include "idrac6.fullname" .)) }}
key: idrac.username
- name: IDRAC_PASSWORD
value: "{{ .Values.idrac.password }}"
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecretName | default (printf "%s-secret" (include "idrac6.fullname" .)) }}
key: idrac.password
- name: IDRAC_PORT
value: "{{ .Values.idrac.port }}"
- name: IDRAC_KEYCODE_HACK

View File

@@ -0,0 +1,17 @@
---
{{- if not (.Values.existingSecretName) }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "idrac6.fullname" . }}-secret
labels:
app.kubernetes.io/name: {{ include "idrac6.name" . }}
helm.sh/chart: {{ include "idrac6.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ include "idrac6.name" . }}
type: Opaque
data:
idrac.host: {{ .Values.idrac.host | b64enc }}
idrac.username: {{ .Values.idrac.username | b64enc }}
idrac.password: {{ .Values.idrac.password | b64enc }}
{{- end }}

View File

@@ -28,11 +28,14 @@ timezone: UTC
puid: 1000
pgid: 1000
# Existing secret, overrides idrac values
# existingSecret: test
# iDRAC connection details
idrac:
host:
user:
password:
username: root
password: calvin
port: 443
keycode_hack: false

View File

@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.8.5"
description: Collect VMware vCenter and ESXi performance metrics and send them to InfluxDB
name: vsphere-influxdb-go
version: 0.2.0
version: 0.2.1
keywords:
- vsphere
- influxdb

View File

@@ -45,8 +45,8 @@ config:
Domain: ".lab"
RemoveHostDomainName: false
Interval: 60
VCenters: {}
InfluxDB: {}
VCenters: []
InfluxDB: []
Metrics:
- ObjectType:
- VirtualMachine

5
renovate.json Normal file
View File

@@ -0,0 +1,5 @@
{
"extends": [
"config:base"
]
}