Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cb664f9b6 |
@@ -1,33 +0,0 @@
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: khm-client-creds
|
||||
spec:
|
||||
target:
|
||||
name: khm-client-creds
|
||||
deletionPolicy: Delete
|
||||
template:
|
||||
type: Opaque
|
||||
data:
|
||||
USERNAME: |-
|
||||
{{ .username }}
|
||||
PASSWORD: |-
|
||||
{{ .password }}
|
||||
data:
|
||||
- secretKey: username
|
||||
sourceRef:
|
||||
storeRef:
|
||||
name: vaultwarden-login
|
||||
kind: ClusterSecretStore
|
||||
remoteRef:
|
||||
key: 19c06480-0814-4d1f-aa80-710105989188
|
||||
property: login.username
|
||||
- secretKey: password
|
||||
sourceRef:
|
||||
storeRef:
|
||||
name: vaultwarden-login
|
||||
kind: ClusterSecretStore
|
||||
remoteRef:
|
||||
key: 19c06480-0814-4d1f-aa80-710105989188
|
||||
property: login.password
|
||||
@@ -40,26 +40,14 @@ spec:
|
||||
memory: "256Mi"
|
||||
cpu: "200m"
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
/usr/local/bin/khm \
|
||||
--known-hosts /host-ssh/known_hosts \
|
||||
--host https://khm.hexor.cy \
|
||||
--flow=private \
|
||||
--basic-auth="${USERNAME}:${PASSWORD}" \
|
||||
--in-place
|
||||
env:
|
||||
- name: USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: khm-client-creds
|
||||
key: USERNAME
|
||||
- name: PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: khm-client-creds
|
||||
key: PASSWORD
|
||||
- /usr/local/bin/khm
|
||||
- --known-hosts
|
||||
- /host-ssh/known_hosts
|
||||
- --host
|
||||
- https://khm.hexor.cy
|
||||
- --flow=work
|
||||
- --basic-auth=ultradesu:JiMkWGaA0UZRkzzqtdPvvE0D5vIMCrH7LZGvK2Ux6eGSWECrPlh7UH1khdEm
|
||||
- --in-place
|
||||
volumeMounts:
|
||||
- name: known-hosts
|
||||
mountPath: /host-ssh/known_hosts
|
||||
|
||||
@@ -2,5 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- external-secrets.yaml
|
||||
- app.yaml
|
||||
- khm-client-cronjob.yaml
|
||||
|
||||
Reference in New Issue
Block a user