Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de60e749bc |
@@ -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,30 +40,20 @@ spec:
|
|||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "200m"
|
cpu: "200m"
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /usr/local/bin/khm
|
||||||
- -c
|
- --known-hosts
|
||||||
- |
|
- /host-ssh/known_hosts
|
||||||
/usr/local/bin/khm \
|
- --host
|
||||||
--known-hosts /host-ssh/known_hosts \
|
- https://khm.hexor.cy
|
||||||
--host https://khm.hexor.cy \
|
- --flow=work
|
||||||
--flow=private \
|
- --basic-auth=ultradesu:JiMkWGaA0UZRkzzqtdPvvE0D5vIMCrH7LZGvK2Ux6eGSWECrPlh7UH1khdEm
|
||||||
--basic-auth="${USERNAME}:${PASSWORD}" \
|
- --in-place
|
||||||
--in-place
|
|
||||||
env:
|
|
||||||
- name: USERNAME
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: khm-client-creds
|
|
||||||
key: USERNAME
|
|
||||||
- name: PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: khm-client-creds
|
|
||||||
key: PASSWORD
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: known-hosts
|
- name: known-hosts
|
||||||
mountPath: /host-ssh/known_hosts
|
mountPath: /host-ssh/known_hosts
|
||||||
|
subPath: known_hosts
|
||||||
volumes:
|
volumes:
|
||||||
- name: known-hosts
|
- name: known-hosts
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /home/ab/.ssh/known_hosts
|
path: /Users/ab/.ssh/known_hosts
|
||||||
|
type: File
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- external-secrets.yaml
|
- app.yaml
|
||||||
- khm-client-cronjob.yaml
|
- khm-client-cronjob.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user