Skip to content

Instantly share code, notes, and snippets.

@afirth
Created August 21, 2020 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afirth/7823ad7189ca3fb6ff0b6d5a858da400 to your computer and use it in GitHub Desktop.
Save afirth/7823ad7189ca3fb6ff0b6d5a858da400 to your computer and use it in GitHub Desktop.
kustomize patch service for NEGs ingress (GKE)
patchesJSON6902:
- target:
version: v1
kind: Service
name: NAME
namespace: NS
patch: |-
- op: add
path: "/metadata/annotations"
value:
cloud.google.com/neg: '{"ingress": true}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment