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
parent
28e120ddbd
commit
edec79aaae
|
@ -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: |
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue