Last active
September 2, 2021 17:33
-
-
Save warroyo/567224426dfe0d92962c45d11e322140 to your computer and use it in GitHub Desktop.
static IP for contour TKg extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #@data/values | |
| #@overlay/match-child-defaults missing_ok=True | |
| --- | |
| infrastructure_provider: "vsphere" | |
| contour: | |
| image: | |
| repository: projects.registry.vmware.com/tkg | |
| envoy: | |
| image: | |
| repository: projects.registry.vmware.com/tkg | |
| service: | |
| type: "LoadBalancer" | |
| loadBalancerIP: 10.213.215.26 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # contour k14s objects managed by kapp-controller | |
| --- | |
| apiVersion: kappctrl.k14s.io/v1alpha1 | |
| kind: App | |
| metadata: | |
| name: contour | |
| namespace: tanzu-system-ingress | |
| annotations: | |
| tmc.cloud.vmware.com/managed: "false" | |
| spec: | |
| syncPeriod: 5m | |
| serviceAccountName: contour-extension-sa | |
| fetch: | |
| - image: | |
| url: projects.registry.vmware.com/tkg/tkg-extensions-templates:v1.3.1_vmware.1 | |
| template: | |
| - ytt: | |
| ignoreUnknownComments: true | |
| paths: | |
| - tkg-extensions/common | |
| - tkg-extensions/ingress/contour | |
| inline: | |
| pathsFrom: | |
| - secretRef: | |
| name: contour-data-values | |
| paths: | |
| static-ip-envoy.yml: | | |
| #@ load("@ytt:overlay", "overlay") | |
| #@ load("/values.star", "values") | |
| #@overlay/match by=overlay.subset({"kind":"Service","metadata":{"name":"envoy"}}) | |
| --- | |
| spec: | |
| #@overlay/match missing_ok=True | |
| loadBalancerIP: #@ values.envoy.service.loadBalancerIP | |
| deploy: | |
| - kapp: | |
| rawOptions: ["--wait-timeout=5m"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment