| 
1 | 1 | apiVersion: argoproj.io/v1alpha1  | 
2 |  | -kind: Application  | 
 | 2 | +kind: ApplicationSet  | 
3 | 3 | metadata:  | 
4 | 4 |   name: istio-base  | 
5 |  | -  annotations:  | 
6 |  | -    argocd.argoproj.io/sync-wave: "-3"  | 
7 | 5 | spec:  | 
8 |  | -  destination:  | 
9 |  | -    name: gke-utility  | 
10 |  | -    namespace: istio-system  | 
11 |  | -  project: default  | 
12 |  | -  sources:  | 
13 |  | -    - chart: base  | 
14 |  | -      repoURL: https://istio-release.storage.googleapis.com/charts  | 
15 |  | -      targetRevision: 1.23.2  | 
16 |  | -    - path: config/crd/experimental  | 
17 |  | -      repoURL: https://github.com/kubernetes-sigs/gateway-api  | 
18 |  | -      targetRevision: v1.1.0  | 
19 |  | -  ignoreDifferences:  | 
20 |  | -    - group: admissionregistration.k8s.io  | 
21 |  | -      kind: ValidatingWebhookConfiguration  | 
22 |  | -      jsonPointers:  | 
23 |  | -      - /webhooks/0/failurePolicy  | 
24 |  | -  syncPolicy:  | 
25 |  | -    automated:  | 
26 |  | -      prune: true  | 
27 |  | -      selfHeal: true  | 
28 |  | -    syncOptions:  | 
29 |  | -    - CreateNamespace=true  | 
 | 6 | +  goTemplate: true  | 
 | 7 | +  generators:  | 
 | 8 | +    - clusters:  | 
 | 9 | +        selector:  | 
 | 10 | +          matchLabels:  | 
 | 11 | +            clusterType: 'utility'  | 
 | 12 | +  template:  | 
 | 13 | +    metadata:  | 
 | 14 | +      name: 'istio-base-{{ .name }}'  | 
 | 15 | +      annotations:  | 
 | 16 | +        argocd.argoproj.io/sync-wave: "-3"  | 
 | 17 | +    spec:  | 
 | 18 | +      destination:  | 
 | 19 | +        namespace: istio-system  | 
 | 20 | +        server: "{{ .server }}"  | 
 | 21 | +      project: default  | 
 | 22 | +      sources:  | 
 | 23 | +        - chart: base  | 
 | 24 | +          repoURL: https://istio-release.storage.googleapis.com/charts  | 
 | 25 | +          targetRevision: 1.23.2  | 
 | 26 | +        - path: config/crd/experimental  | 
 | 27 | +          repoURL: https://github.com/kubernetes-sigs/gateway-api  | 
 | 28 | +          targetRevision: v1.1.0  | 
 | 29 | +      syncPolicy:  | 
 | 30 | +        automated:  | 
 | 31 | +          prune: true  | 
 | 32 | +          selfHeal: true  | 
 | 33 | +        syncOptions:  | 
 | 34 | +          - CreateNamespace=true  | 
 | 35 | +        managedNamespaceMetadata:  | 
 | 36 | +          labels:  | 
 | 37 | +            topology.istio.io/network: "{{ .metadata.labels.istioNetwork }}"  | 
30 | 38 | ---  | 
31 | 39 | apiVersion: argoproj.io/v1alpha1  | 
32 |  | -kind: Application  | 
 | 40 | +kind: ApplicationSet  | 
33 | 41 | metadata:  | 
34 | 42 |   name: istio  | 
35 | 43 | spec:  | 
36 |  | -  destination:  | 
37 |  | -    name: gke-utility  | 
38 |  | -    namespace: istio-system  | 
39 |  | -  project: default  | 
40 |  | -  sources:  | 
41 |  | -    - chart: istiod  | 
42 |  | -      repoURL: https://istio-release.storage.googleapis.com/charts  | 
43 |  | -      targetRevision: 1.23.2  | 
44 |  | -      helm:  | 
45 |  | -        values: |  | 
46 |  | -          global:  | 
47 |  | -            hub: gcr.io/istio-release  | 
48 |  | -            istiod:  | 
49 |  | -              enableAnalysis: true  | 
50 |  | -          meshConfig:  | 
51 |  | -            accessLogFile: /dev/stdout  | 
52 |  | -            enablePrometheusMerge: true  | 
53 |  | -            protocolDetectionTimeout: 5s  | 
54 |  | -            enableTracing: true  | 
55 |  | -            defaultConfig:  | 
56 |  | -              tracing:  | 
57 |  | -            extensionProviders:  | 
58 |  | -            - name: stackdriver  | 
59 |  | -              stackdriver:  | 
60 |  | -            - name: "oauth2-proxy"  | 
61 |  | -              envoyExtAuthzHttp:  | 
62 |  | -                service: "oauth2-proxy.oauth2-proxy.svc.cluster.local"  | 
63 |  | -                port: "80"  | 
64 |  | -                headersToDownstreamOnDeny:  | 
65 |  | -                  - content-type  | 
66 |  | -                  - set-cookie  | 
67 |  | -                headersToUpstreamOnAllow:  | 
68 |  | -                  - authorization  | 
69 |  | -                  - cookie  | 
70 |  | -                  - path  | 
71 |  | -                  - x-*  | 
72 |  | -                includeHeadersInCheck:  | 
73 |  | -                  - authorization  | 
74 |  | -                  - cookie  | 
75 |  | -                  - user-agent  | 
76 |  | -                includeAdditionalHeadersInCheck:  | 
77 |  | -                  X-Auth-Request-Redirect: https://%REQ(Host)%%REQ(:PATH)%  | 
78 |  | -            defaultConfig:  | 
79 |  | -              gatewayTopology:  | 
80 |  | -                numTrustedProxies: 2  | 
81 |  | -          telemetry:  | 
82 |  | -            enabled: true  | 
83 |  | -            v2:  | 
84 |  | -              prometheus:  | 
85 |  | -                enabled: true  | 
86 |  | -                wasmEnabled: false  | 
87 |  | -    - path: kubernetes/gke-utility/istio-system  | 
88 |  | -      repoURL: https://github.com/kubernetes/k8s.io  | 
89 |  | -      targetRevision: main  | 
90 |  | -  ignoreDifferences:  | 
91 |  | -    - group: admissionregistration.k8s.io  | 
92 |  | -      kind: ValidatingWebhookConfiguration  | 
93 |  | -      jsonPointers:  | 
94 |  | -      - /webhooks/0/failurePolicy  | 
95 |  | -  syncPolicy:  | 
96 |  | -    automated:  | 
97 |  | -      prune: true  | 
98 |  | -      selfHeal: true  | 
 | 44 | +  goTemplate: true  | 
 | 45 | +  generators:  | 
 | 46 | +    - clusters:  | 
 | 47 | +        selector:  | 
 | 48 | +          matchLabels:  | 
 | 49 | +            clusterType: 'utility'  | 
 | 50 | +  template:  | 
 | 51 | +    metadata:  | 
 | 52 | +      name: 'istio-{{ .name }}'  | 
 | 53 | +    spec:  | 
 | 54 | +      destination:  | 
 | 55 | +        namespace: istio-system  | 
 | 56 | +        server: "{{ .server }}"  | 
 | 57 | +      project: default  | 
 | 58 | +      sources:  | 
 | 59 | +        - chart: istiod  | 
 | 60 | +          repoURL: https://istio-release.storage.googleapis.com/charts  | 
 | 61 | +          targetRevision: 1.23.2  | 
 | 62 | +          helm:  | 
 | 63 | +            valueFiles:  | 
 | 64 | +            - $values/kubernetes/{{ .name }}/helm/istio.yaml  | 
 | 65 | +        - repoURL: 'https://github.com/kubernetes/k8s.io.git'  | 
 | 66 | +          targetRevision: main  | 
 | 67 | +          ref: values  | 
 | 68 | +        - repoURL: https://github.com/kubernetes/k8s.io  | 
 | 69 | +          targetRevision: main  | 
 | 70 | +          path: kubernetes/{{ .name }}/istio-system  | 
 | 71 | +      ignoreDifferences:  | 
 | 72 | +        - group: admissionregistration.k8s.io  | 
 | 73 | +          kind: ValidatingWebhookConfiguration  | 
 | 74 | +          jsonPointers:  | 
 | 75 | +          - /webhooks/0/failurePolicy  | 
 | 76 | +      syncPolicy:  | 
 | 77 | +        automated:  | 
 | 78 | +          prune: true  | 
 | 79 | +          selfHeal: true  | 
0 commit comments