Created
January 27, 2021 18:26
-
-
Save howardjohn/aeea8da5f86d157d998ac2cf3cb48f59 to your computer and use it in GitHub Desktop.
Example to set up injection of PROXY_CONFIG into a gateway to allow non istio-system gateways
This file contains 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
apiVersion: operator.istio.io/v1alpha1 | |
kind: IstioOperator | |
metadata: | |
name: istio | |
spec: | |
revision: alt | |
components: | |
ingressGateways: | |
- name: istio-ingressgateway | |
enabled: true | |
- namespace: other | |
name: gateway | |
enabled: true | |
k8s: | |
service: | |
ports: | |
- port: 80 | |
targetPort: 8080 | |
name: http | |
values: | |
gateways: | |
istio-ingressgateway: | |
injectionTemplate: gateway | |
sidecarInjectorWebhook: | |
templates: | |
gateway: | | |
spec: | |
containers: | |
- name: istio-proxy | |
env: | |
- name: PROXY_CONFIG | |
value: {{ protoToJSON .ProxyConfig | quote }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment