Migrate istio and dex to V3#1426
Conversation
|
/cc @Jeffwan Can you help review AWS changes? Btw, let me know if you think it's necessary to divide Istio+Dex migration and AWS changes into 2 PR. |
|
@PatrickXYS I would suggest to split AWS changes and common changes to separate PR. then it would be easier to track or cherry-pick in the future |
|
I agree with @Jeffwan's suggestion of splitting the PR into 2. |
krishnadurai
left a comment
There was a problem hiding this comment.
Looks good to me, otherwise.
2ec89c3 to
0bfcb94
Compare
779f1e8 to
60b1cc8
Compare
|
@krishnadurai I have removed AWS change and will send another PR after this PR merged. Can you help review the PR? |
|
Just for ping @krishnadurai I did not change any code related to istio / dex components. Only change made here is removing AWS changes. Would you minding take another look? And I only created |
Jeffwan
left a comment
There was a problem hiding this comment.
I think v3 migration is not clear for these kind of manifest. Technically, we can use overlay/application.yaml. The only thing missing is -params need to be migrated to -config. We do have some similar cases not migrated yet but I am not sure if we want to migrate it or not
| - ../base/service.yaml | ||
| - ../base/statefulset.yaml | ||
| - ../base/envoy-filter.yaml | ||
| - ../base/pvc.yaml |
There was a problem hiding this comment.
probably overlay/application.yaml is needed as well. I think besides param -> config, there's no need to migrate to v3 for this one. Can user use overlay/applications.yaml directly?
There was a problem hiding this comment.
param -> config
Yes this is the main reason I want to migrate to V3.
Can user use overlay/applications.yaml directly?
Yes they can.
I'm okay with not migrating these components to V3. I think it might cause some incompatibility issues in the future. Since vendors (AWS/GCP) have moved to V3, and use config as the routine.
if we don't migrate to V3, these configMap will be XX-parameters, what do you think?
- name: istio-parameters
behavior: merge
envs:
- params.env
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||
| kind: Kustomization | ||
| resources: | ||
| - ../base/kf-istio-resources.yaml |
There was a problem hiding this comment.
This is same as istio/istio/base/kustomize?
There was a problem hiding this comment.
Right, they are the same.
|
@terrytangyuan @animeshsingh @Bobgy Can you take a look? It's now lgtm but need to be approved for shipment. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: terrytangyuan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@PatrickXYS was there ever a separate PR for the AWS part? I don't see it linked anywhere and as far as I can tell the official aws kfdef still installs 1.1.6. Looking at the rolled-back changes in this PR, it looks like bumping to 1.3.1 only requires replacing with Is that correct? |
|
No, can't be right, not in 1.2.0 at least. As far as I can tell looking at the manifests, the change for 1.2.0 is to replace: with |
Which issue is resolved by this Pull Request:
Resolves #1424
Description of your changes:
Checklist:
cd manifests/testsmake generate-changed-onlymake test