1
0
Fork 0

ssh-known-hosts: Move ConfigMap to its own project

This will allow multiple projects to have a ConfigMap with the same
`ssh_known_hosts` contents without duplicating the source file in the
repository.
pull/50/head
Dustin 2025-02-08 10:37:12 -06:00
parent 28e120ddbd
commit edec79aaae
3 changed files with 13 additions and 8 deletions

View File

@ -10,14 +10,7 @@ resources:
- secrets.yaml
- iscsi.yaml
- gentoo-storage.yaml
configMapGenerator:
- name: ssh-known-hosts
namespace: jenkins-jobs
files:
- ssh_known_hosts
options:
disableNameSuffixHash: true
- ../ssh-host-keys
patches:
- patch: |

View File

@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
configMapGenerator:
- name: ssh-known-hosts
namespace: jenkins-jobs
files:
- ssh_known_hosts
options:
labels:
app.kubernetes.io/name: ssh-known-hosts
disableNameSuffixHash: true