df1b9a5685
complete the implementation of puppet in kubernetes, taking many features from the openvox helm chart and improving on them. changes from helm are: - using vault for storing secrets - using g10k instead of r10k - using a single shared g10k cronjob for all masters/compilers - using a single shared /etc/puppetlabs/code directory (shared, cephfs) changes: - deploy puppet master and compiler servers with statefulset/deployment - deploy puppetdb with postgresql backend, taking advantage of cnpg cluster and pooler - deploy puppetboard - all supporting configmaps, services, ingresses, and hpas - added vaultstaticsecret for eyaml private keys - configured secure mounting of eyaml keys at /var/lib/puppet/keys/ - updated base kustomization to include all 23 new puppet resource files Reviewed-on: #29
35 lines
1012 B
YAML
35 lines
1012 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
kubernetes.io/ingress.class: nginx
|
|
external-dns.alpha.kubernetes.io/hostname: puppetboard.k8s.syd1.au.unkin.net
|
|
external-dns.alpha.kubernetes.io/target: 198.18.200.0
|
|
cert-manager.io/cluster-issuer: vault-issuer
|
|
cert-manager.io/common-name: puppetboard.k8s.syd1.au.unkin.net
|
|
cert-manager.io/private-key-size: "4096"
|
|
labels:
|
|
app.kubernetes.io/component: puppetboard
|
|
app.kubernetes.io/instance: puppetserver
|
|
app.kubernetes.io/name: puppetserver
|
|
app.kubernetes.io/version: 8.8.0
|
|
name: puppetserver-puppetboard
|
|
namespace: puppet
|
|
spec:
|
|
rules:
|
|
- host: puppetboard.k8s.syd1.au.unkin.net
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: puppetboard
|
|
port:
|
|
number: 9090
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- puppetboard.k8s.syd1.au.unkin.net
|
|
secretName: puppetboard-tls
|