linkerd2/cli
GrigoriyMikhalkin bb915fbc27
Default Policy controller resources to destination resources in manifest (#12191)
Fixes https://github.com/linkerd/linkerd2/issues/12131

To test locally(you would need to set some values to `.Values.identity.issuer.tls.crtPEM` and Values.identity.issuer.tls.keyPEM`` before that), run:

1. `helm template ./charts/linkerd-control-plane --devel --set=destinationResources.cpu.request=100m`. In generated manifest for policy controller you should see:
```
        resources:
          requests:
            cpu: "100m"
```
2. `helm template ./charts/linkerd-control-plane --devel --set=policyController.resources.memory.limit=25Mi --set=destinationResources.cpu.request=100m`. In generated manifest for policy controller you should see:
```
        resources:
          limits:
            memory: "25Mi"
```

Signed-off-by: GrigoriyMikhalkin <grigoriymikhalkin@gmail.com>
2024-04-11 12:01:22 -07:00
..
cmd Default Policy controller resources to destination resources in manifest (#12191) 2024-04-11 12:01:22 -07:00
flag Introduce LINKERD_DOCKER_REGISTRY and flexibilize CI workflows (#6782) 2021-09-01 13:39:05 -05:00
table Add linkerd viz authz command (#6875) 2021-09-21 09:36:05 -07:00
Dockerfile dev: Update Go to v1.22 (#12114) 2024-02-22 09:39:33 -05:00
main.go Add `gosec` and `errcheck` lints (#7954) 2022-03-03 10:09:51 -07:00