This will allow multiple projects to have a ConfigMap with the same `ssh_known_hosts` contents without duplicating the source file in the repository.
13 lines
265 B
YAML
13 lines
265 B
YAML
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
|