Files
argocd-apps/apps/base/puppet/service_puppetdb.yaml
unkinben 6497dab25e fix(puppet): remove explicit clusterIP: null from puppetdb Service (#166)
## Summary

- Removes `clusterIP: null` from the `puppetdb` Service spec

## Why

Setting `clusterIP: null` makes ArgoCD's desired state explicit about the field being null. Kubernetes assigns a real IP on creation and the field is immutable afterward. The null vs assigned-IP mismatch causes permanent OutOfSync on the puppetdb Service. Removing the field means ArgoCD no longer claims ownership of `clusterIP`, so the API server's value is authoritative.

Reviewed-on: #166
2026-05-25 22:44:24 +10:00

23 lines
499 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: puppetdb
app.kubernetes.io/instance: puppetserver
app.kubernetes.io/name: puppetserver
app.kubernetes.io/version: 8.8.0
name: puppetdb
namespace: puppet
spec:
ports:
- name: pdb-http
port: 8080
targetPort: pdb-http
- name: pdb-https
port: 8081
targetPort: pdb-https
selector:
app.kubernetes.io/component: puppetdb
app.kubernetes.io/name: puppetserver
type: ClusterIP