github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/package-examples/ghost/ghost-app/fn-config-update-host.yaml (about) 1 apiVersion: fn.kpt.dev/v1alpha1 2 kind: ApplyReplacements 3 metadata: 4 name: update-host 5 annotations: 6 config.kubernetes.io/local-config: "true" 7 labels: 8 app.kubernetes.io/name: ghost-app 9 replacements: 10 - source: 11 kind: Ingress 12 name: ghost-app 13 fieldPath: spec.rules.0.host 14 targets: 15 - select: 16 name: ghost-app 17 kind: Deployment 18 fieldPaths: 19 - spec.template.spec.containers.[name=ghost-app].env.[name=GHOST_HOST].value