keps/sig-cli/2299-kustomize-plugin-composition/example/kustomization/prod-integration-base/prod-plugin-transformation/plugins-base/lb.yaml (15 lines of code) (raw):
apiVersion: team.example.com/v1alpha1
kind: HTTPLoadBalancer
metadata:
name: lb
annotations:
config.kubernetes.io/function: |
container:
image: docker.example.com/kustomize-modules/lb:v0.1.1
spec:
selector:
matchLabels:
app: nginx-example
expose:
serviceName: nginx
port: 80