...

Text file src/edge-infra.dev/third_party/k8s/linkerd/justfile

Documentation: edge-infra.dev/third_party/k8s/linkerd

     1yq := "bazel run --config=quiet //hack/tools:yq --"
     2push := "bazel run --config=quiet //cmd/tools/pusha --"
     3
     4version := "edge-24.5.5"
     5proxy_init_version := "v2.4.0"
     6push_repo := "us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads"
     7
     8# update version.bzl with new linkerd version and run the following
     9update:
    10    bazel build --config=quiet //third_party/k8s/linkerd:*
    11    bazel run --config=quiet //third_party/k8s/linkerd:write_linkerd_manifests
    12    bazel run --config=quiet //third_party/k8s/linkerd/helm:write_linkerd_version
    13    bazel run --config=quiet //third_party/k8s/linkerd:write_rendered_crd_manifests
    14
    15# prints out the version of proxy init container based on the linkerd version
    16print-proxy-init-version:
    17    {{yq}} -e '.proxyInit.image.version' helm/linkerd/charts/linkerd-control-plane/values.yaml
    18
    19test-container-pull:
    20    bazel fetch @linkerd_controller
    21    bazel fetch @linkerd_policy_controller
    22    bazel fetch @linkerd_proxy
    23    bazel fetch @linkerd_proxy_debug
    24    bazel fetch @linkerd_proxy_init
    25
    26push:
    27  {{push}} --tag={{version}} --repo={{push_repo}} //third_party/k8s/linkerd:container_push
    28  {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_controller_container_push
    29  {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_policy_controller_container_push
    30  {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_proxy_container_push
    31  {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_proxy_debug_container_push
    32  {{push}} --tag={{proxy_init_version}} --repo={{push_repo}} //hack/deps:linkerd_proxy_init_container_push

View as plain text