|
|
|
|
@@ -84,3 +84,100 @@ spec:
|
|
|
|
|
- name: script
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: shelly-plug
|
|
|
|
|
---
|
|
|
|
|
apiVersion: external-secrets.io/v1
|
|
|
|
|
kind: ExternalSecret
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelly-plug-config-secret
|
|
|
|
|
namespace: shelly-plug
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/name: shelly-plug-config-secret
|
|
|
|
|
app.kubernetes.io/instance: shelly-plug
|
|
|
|
|
app.kubernetes.io/part-of: shelly-plug
|
|
|
|
|
spec:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
|
name: vault
|
|
|
|
|
data:
|
|
|
|
|
- secretKey: SHELLY_HTTP_USERNAME
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /shelly-plug/auth/it05sp
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: SHELLY_HTTP_USERNAME
|
|
|
|
|
- secretKey: SHELLY_HTTP_PASSWORD
|
|
|
|
|
remoteRef:
|
|
|
|
|
conversionStrategy: Default
|
|
|
|
|
decodingStrategy: None
|
|
|
|
|
key: /shelly-plug/auth/it05sp
|
|
|
|
|
metadataPolicy: None
|
|
|
|
|
property: SHELLY_HTTP_PASSWORD
|
|
|
|
|
---
|
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelly-plug
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/instance: shelly-plug
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelly-plug
|
|
|
|
|
helm.sh/chart: shelly-plug-4.6.2
|
|
|
|
|
annotations:
|
|
|
|
|
helm.sh/resource-policy: keep
|
|
|
|
|
namespace: shelly-plug
|
|
|
|
|
spec:
|
|
|
|
|
accessModes:
|
|
|
|
|
- "ReadWriteOnce"
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
storage: "1Gi"
|
|
|
|
|
storageClassName: "ceph-block"
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelly-plug
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/instance: shelly-plug
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelly-plug
|
|
|
|
|
app.kubernetes.io/service: shelly-plug
|
|
|
|
|
helm.sh/chart: shelly-plug-4.6.2
|
|
|
|
|
namespace: shelly-plug
|
|
|
|
|
spec:
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
ports:
|
|
|
|
|
- port: 80
|
|
|
|
|
targetPort: 80
|
|
|
|
|
protocol: TCP
|
|
|
|
|
name: metrics
|
|
|
|
|
selector:
|
|
|
|
|
app.kubernetes.io/controller: main
|
|
|
|
|
app.kubernetes.io/instance: shelly-plug
|
|
|
|
|
app.kubernetes.io/name: shelly-plug
|
|
|
|
|
---
|
|
|
|
|
apiVersion: monitoring.coreos.com/v1
|
|
|
|
|
kind: ServiceMonitor
|
|
|
|
|
metadata:
|
|
|
|
|
name: shelly-plug
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/instance: shelly-plug
|
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
|
app.kubernetes.io/name: shelly-plug
|
|
|
|
|
helm.sh/chart: shelly-plug-4.6.2
|
|
|
|
|
namespace: shelly-plug
|
|
|
|
|
spec:
|
|
|
|
|
jobLabel: shelly-plug
|
|
|
|
|
namespaceSelector:
|
|
|
|
|
matchNames:
|
|
|
|
|
- shelly-plug
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app.kubernetes.io/instance: shelly-plug
|
|
|
|
|
app.kubernetes.io/name: shelly-plug
|
|
|
|
|
endpoints:
|
|
|
|
|
- interval: 30s
|
|
|
|
|
path: /metrics
|
|
|
|
|
port: metrics
|
|
|
|
|
scrapeTimeout: 10s
|
|
|
|
|
|