Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync downstream main with upstream main #81

Merged
merged 25 commits into from
Jul 6, 2023

Commits on Jun 22, 2023

  1. build: fix make docker-generate-protobuf target

    With recent changes to detect Podman/Docker, the
    `docker-generate-protobuf` make target was broken. The parameters to
    the container build command were passed like `$^`, and not only the
    Containerfile filename.
    
    Fixes: #372
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic authored and mergify[bot] committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    f851aec View commit details
    Browse the repository at this point in the history
  2. crds: add lastsyncduration and lastsyncbytes to volrep

    This commit adds lastsyncbytes and lastsyncduration
    to volume replication status and generates updated crds.
    
    Signed-off-by: yati1998 <ypadia@redhat.com>
    yati1998 authored and mergify[bot] committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    6a356c5 View commit details
    Browse the repository at this point in the history
  3. proto: update rpc to include other volrep info

    This commit updates the getvolumereplicationinfo
    rpc to include lastsyncbytes and lastsyncduration.
    
    Signed-off-by: yati1998 <ypadia@redhat.com>
    yati1998 authored and mergify[bot] committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    f3f2b62 View commit details
    Browse the repository at this point in the history
  4. vendor: updates the vendor directory

    This commit updates the vendor directory to
    include lastest spec.
    
    Signed-off-by: yati1998 <ypadia@redhat.com>
    yati1998 authored and mergify[bot] committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    dc8bb6d View commit details
    Browse the repository at this point in the history
  5. replication: update reconcile logic

    This commit updates the reconcile logic to
    get more info and update the volrep status.
    
    Signed-off-by: yati1998 <ypadia@redhat.com>
    yati1998 authored and mergify[bot] committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    ee9403c View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. build: use Go 1.20 while building in container

    This also moves to use the quay.io mirror of the Golang container-image
    from docker.io. Docker Hub has pull restrictions, that can prevent
    pulling the image if it is done too often. Quay.io does not enforce
    restrictions like that.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic authored and mergify[bot] committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    1712b73 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. tools: move tools.go to its own directory tools/

    tools.go is moved to another module tools to
    separate all dependencies used for build from
    main go.mod.
    
    Signed-off-by: Rakshith R <rar@redhat.com>
    Rakshith-R authored and mergify[bot] committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    342d457 View commit details
    Browse the repository at this point in the history
  2. ci: include /tools directory in dependabot config

    The `/tools` directory was added with commit 342d457. It is
    needed to update the dependencies of the tools separately.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic authored and mergify[bot] committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    5da4b7f View commit details
    Browse the repository at this point in the history
  3. vendor: Bump google.golang.org/grpc from 1.55.0 to 1.56.1

    Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.56.1.
    - [Release notes](https://github.com/grpc/grpc-go/releases)
    - [Commits](grpc/grpc-go@v1.55.0...v1.56.1)
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/grpc
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and mergify[bot] committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    d58e6b4 View commit details
    Browse the repository at this point in the history
  4. build: update k8s and controller runtime pkgs

    this commit update the kubernetes pkgs to latest 0.27.2
    and controller runtime version to 1.15.0.
    
    Signed-off-by: subhamkrai <srai@redhat.com>
    
    Signed-off-by: subhamkrai <srai@redhat.com>
    subhamkrai authored and mergify[bot] committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    d4463a0 View commit details
    Browse the repository at this point in the history
  5. vendor: bump k8s.io/api from 0.27.2 to 0.27.3

    Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.27.2 to 0.27.3.
    - [Commits](kubernetes/api@v0.27.2...v0.27.3)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/api
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and mergify[bot] committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    36f9fd2 View commit details
    Browse the repository at this point in the history
  6. vendor: Bump github.com/kubernetes-csi/csi-lib-utils

    Bumps [github.com/kubernetes-csi/csi-lib-utils](https://github.com/kubernetes-csi/csi-lib-utils) from 0.13.0 to 0.14.0.
    - [Release notes](https://github.com/kubernetes-csi/csi-lib-utils/releases)
    - [Commits](kubernetes-csi/csi-lib-utils@v0.13.0...v0.14.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/kubernetes-csi/csi-lib-utils
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and mergify[bot] committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    da2bc42 View commit details
    Browse the repository at this point in the history
  7. vendor: Bump k8s.io/client-go from 0.26.3 to 0.27.3

    Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.26.3 to 0.27.3.
    - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
    - [Commits](kubernetes/client-go@v0.26.3...v0.27.3)
    
    ---
    updated-dependencies:
    - dependency-name: k8s.io/client-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and mergify[bot] committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    e44d317 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. vendor: bump google.golang.org/protobuf from 1.30.0 to 1.31.0

    Bumps google.golang.org/protobuf from 1.30.0 to 1.31.0.
    
    ---
    updated-dependencies:
    - dependency-name: google.golang.org/protobuf
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    d90368f View commit details
    Browse the repository at this point in the history
  2. vendor: Bump sigs.k8s.io/controller-tools in /tools

    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    fb32a2c View commit details
    Browse the repository at this point in the history
  3. deploy: commit changes done by controller-tools update

    Signed-off-by: Rakshith R <rar@redhat.com>
    Rakshith-R authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    3fad6ab View commit details
    Browse the repository at this point in the history
  4. vendor: bump google.golang.org/protobuf to 1.31.0 in /tools

    Bumps google.golang.org/protobuf from 1.30.0 to 1.31.0.
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    a41d5ab View commit details
    Browse the repository at this point in the history
  5. rebase: commit changes done while upating tools/protobuf

    Signed-off-by: Rakshith R <rar@redhat.com>
    Rakshith-R authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    5c8fcf2 View commit details
    Browse the repository at this point in the history
  6. Adding version details to sidecar

    Signed-off-by: saranyareddy24 <saranyareddipalle@yahoo.in>
    saranyareddy24 authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    3fd87a2 View commit details
    Browse the repository at this point in the history
  7. build: use make to build executables in containers

    The `Makefile` now contains logic to provide a version (git tag) and the
    current git commit hash in a `-version` argument to executables. However
    the container-images did not use `make`, and therefor the executables
    would not have the version information set.
    
    While updating the building of the executables in the container, the
    names of the executables has been prefixed with `csi-addons-`, so that a
    listing of running processes on a Kubernetes node does not show
    `manager` for the CSI-Addons Operator, but `csi-addons-manager`.
    
    Updates: #385
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    7e73c8b View commit details
    Browse the repository at this point in the history
  8. build: include -version option for csi-addons executable

    Just like for the manager and sidecar executables, add `-version` as an
    option to the `csi-addons` tool.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    22b6288 View commit details
    Browse the repository at this point in the history
  9. build: force rebuilding without CGo

    Disable building with CGo support, so that only native Golang functions
    are used. This makes it possible to build the executables in one
    container, and run them in a distroless container.
    
    Fore rebuilding all components with `-a` in the `Makefile`, this
    prevents including artifacts that may have been built outside the
    contains with CGo enabled.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic authored and mergify[bot] committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    fcc6e23 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. build: switch back to docker for golang:1.20

    This commit switches back to docker for
    base image golang:1.20 since github actions
    does not seem to be able to pull from quay
    intermittently.
    
    Signed-off-by: Rakshith R <rar@redhat.com>
    Rakshith-R authored and mergify[bot] committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    6c78a07 View commit details
    Browse the repository at this point in the history
  2. cleanup: corrections in the ci doc

    Signed-off-by: karthik-us <ksubrahm@redhat.com>
    karthik-us authored and mergify[bot] committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    b136c3a View commit details
    Browse the repository at this point in the history
  3. controller: fix reclaimspace based on ns annotation

    Logic used for determining reclaimspace annotation
    based on ns annotation and driver support had a bug
    which caused all the PVCs regardless of driversupport
    being annotated.
    This commit makes sure only pvc with driver which
    support reclaimspace is annotated/ requeued.
    
    Signed-off-by: Rakshith R <rar@redhat.com>
    Rakshith-R authored and mergify[bot] committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    bed9c6e View commit details
    Browse the repository at this point in the history