Compare commits

..

1 Commits

Author SHA1 Message Date
Gitea Actions Bot
de60e749bc Auto-update README with current k8s applications
All checks were successful
Terraform / Terraform (pull_request) Successful in 41s
Generated by CI/CD workflow on 2025-12-28 12:38:26

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2025-12-28 12:38:26 +00:00
4 changed files with 14 additions and 61 deletions

View File

@@ -6,7 +6,7 @@ metadata:
spec: spec:
project: desktop project: desktop
destination: destination:
namespace: khm namespace: default
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
source: source:
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git

View File

@@ -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

View File

@@ -25,6 +25,7 @@ spec:
operator: Equal operator: Equal
value: desktop value: desktop
effect: NoSchedule effect: NoSchedule
hostNetwork: false
containers: containers:
- name: khm-client - name: khm-client
image: 'ultradesu/khm:latest' image: 'ultradesu/khm:latest'
@@ -39,35 +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
hostname "$NODE_NAME" - --host
/usr/local/bin/khm \ - https://khm.hexor.cy
--known-hosts /host-ssh/known_hosts \ - --flow=work
--host https://khm.hexor.cy \ - --basic-auth=ultradesu:JiMkWGaA0UZRkzzqtdPvvE0D5vIMCrH7LZGvK2Ux6eGSWECrPlh7UH1khdEm
--flow=private \ - --in-place
--basic-auth="${USERNAME}:${PASSWORD}" \
--in-place
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- 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

View 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