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

Syncing latest changes from master for noobaa-operator #7

Merged
merged 24 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4eb0594
Merge pull request #1302 from liranmauda/liran-bump-version
liranmauda Feb 14, 2024
4ee6037
Update external-postgres.md
jackyalbo Feb 28, 2024
9c4fc2b
Merge pull request #1307 from jackyalbo/jacky_external_pg_fix
jackyalbo Feb 28, 2024
ab5db30
add a case in the guide TroubleShoot AWS STS Cluster
shirady Feb 28, 2024
f219a13
Merge pull request #1306 from shirady/sts-troubleshooting-add-case
shirady Feb 29, 2024
ef38273
Doc | update readme flags
shirady Mar 3, 2024
418ffc5
Merge pull request #1309 from shirady/readme-update-flags-v5.16
shirady Mar 3, 2024
9b6c51b
update mapValidAWSRegions with new region
shirady Mar 3, 2024
101ba1c
Merge pull request #1310 from shirady/update-aws-regions
shirady Mar 3, 2024
75a9c13
Utilize the refreshing global CA bundle for the Azure and Google clie…
Neon-White Mar 4, 2024
ec7f5df
Partial revert of #1304 (#1314)
Neon-White Mar 5, 2024
9975b2b
adding denyHTTP option to NooBaa CR
jackyalbo Mar 10, 2024
906a820
Merge pull request #1318 from jackyalbo/jacky-route-fix
jackyalbo Mar 11, 2024
3247ac8
fixing returned status and adding prints
jackyalbo Mar 12, 2024
489d361
Merge pull request #1319 from jackyalbo/jacky-try1
jackyalbo Mar 12, 2024
179c04f
Bump dependencies
liranmauda Mar 17, 2024
104e241
Merge pull request #1323 from liranmauda/liran-update-vendors
liranmauda Mar 18, 2024
54e4c8c
update go version v1.21
vh05 Mar 18, 2024
dda32c1
Merge pull request #1324 from v-harihar/go1.21
vh05 Mar 18, 2024
a9aee2d
bucket_logging: Bucket log processing in side car container
aspandey Feb 7, 2024
6221ee6
Merge pull request #1303 from aspandey/syslog-sidecar-container
aspandey Mar 19, 2024
fd48560
Fix replication policy deletion (#1325)
Neon-White Mar 19, 2024
68a0d2a
Azure kms handling for noobaa
vh05 Mar 4, 2024
4ee28d6
Merge pull request #1311 from v-harihar/azure_kms
vh05 Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/manual-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Get Current Date
id: date
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.21
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GHACTION_TOKEN_WRITE }}
Expand All @@ -45,4 +45,4 @@ jobs:
bash build/tools/builder.sh --oci-org $OCI_ORG --gh-org noobaa --gh-repo noobaa-operator || exit 1
bash build/tools/releaser.sh --oci-org $OCI_ORG --gh-org noobaa --gh-repo noobaa-operator || exit 1
# - name: "Krew Release"
# uses: rajatjindal/[email protected]
# uses: rajatjindal/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/run_admission_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Go on runner
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-go@v2 # Could not change to version 3, see issue:
# https://github.com/noobaa/noobaa-operator/issues/1031
with:
go-version: "1.20"
go-version: "1.21"

- name: Deploy Dependencies
id: deploy
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"

- name: Deploy Dependencies
id: deploy
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"

- name: Deploy Dependencies
id: deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_cosi_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go on runner
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_hac_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/run_kms_azure_vault_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: KMS Test - Azure Vault
on: [push, pull_request, workflow_dispatch]

jobs:
run-azure-vault-test:
runs-on: ubuntu-latest
timeout-minutes: 90
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21"

- name: Set environment variables
run: |
echo PATH=$PATH:$HOME/go/bin >> $GITHUB_ENV
echo OPERATOR_IMAGE=localhost:5000/noobaa/noobaa-operator:integration >> $GITHUB_ENV

- name: Deploy Dependencies
run: |
set -x
bash .travis/install-5nodes-kind-cluster.sh
go get -v github.com/onsi/ginkgo/ginkgo
go install -mod=mod -v github.com/onsi/ginkgo/ginkgo
ginkgo version

- name: Build NooBaa
run: |
make cli
make image
docker tag noobaa/noobaa-operator:$(go run cmd/version/main.go) $OPERATOR_IMAGE
docker push $OPERATOR_IMAGE

- name: Install NooBaa
run: |
bash .travis/install-noobaa-pull-azure-parameters.sh

- name: Run KMS Azure test
run: make test-kms-azure-vault
2 changes: 1 addition & 1 deletion .github/workflows/run_kms_dev_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_kms_ibm_kp_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_kms_kmip_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_kms_rotate_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_kms_tls_sa_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_kms_tls_token_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Set environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"

- name: Get Current Date
id: date
Expand Down
13 changes: 13 additions & 0 deletions .travis/install-noobaa-pull-azure-parameters.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
set -o errexit


# TODO: Replace it with azure key vault URL once we have Azure key vault
# account is created
echo AZURE_VAULT_URL="https://noobaa-vault.vault.azure.net/" >> $GITHUB_ENV

echo "💬 Install NooBaa CRD"
./build/_output/bin/noobaa-operator-local crd create

echo "💬 Create NooBaa operator deployment"
./build/_output/bin/noobaa-operator-local operator --operator-image=$OPERATOR_IMAGE install
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ else
GOBIN=$(shell go env GOBIN)
endif

CONTROLLER_GEN_VERSION=v0.12.0
DEEPCOPY_GEN_VERSION=v0.27.0
CONTROLLER_GEN_VERSION=v0.14.0
DEEPCOPY_GEN_VERSION=v0.29.3

GO_LINUX ?= GOOS=linux GOARCH=amd64
GOHOSTOS ?= $(shell go env GOHOSTOS)
Expand Down Expand Up @@ -240,6 +240,11 @@ test-kms-tls-token: vendor
@echo "✅ test-kms-tls-token"
.PHONY: test-kms-tls-token

test-kms-azure-vault: vendor
ginkgo -v pkg/util/kms/test/azure-vault
@echo "✅ test-kms-azure-vault"
.PHONY: test-kms-azure-vault

test-kms-ibm-kp: vendor
ginkgo -v pkg/util/kms/test/ibm-kp
@echo "✅ test-kms-ibm-kp"
Expand Down Expand Up @@ -310,4 +315,4 @@ ifneq ($(DEEPCOPY_GEN_VERSION), $(shell deepcopy-gen --version | awk -F ":" '{pr
DEEPCOPY_GEN=$(GOBIN)/deepcopy-gen
else
DEEPCOPY_GEN=$(shell which deepcopy-gen)
endif
endif
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ $ noobaa options
```
The following options can be passed to any command:


--admission=false: Install the system with admission validation webhook
--autoscaler-type='': The type of autoscaler (hpav2, keda)
--aws-sts-arn='': The AWS STS Role ARN which will assume role
Expand All @@ -165,11 +164,12 @@ The following options can be passed to any command:
--pg-ssl-unauthorized=false: Allow the client to work with self-signed ssl (external postgres - server-side)
--postgres-url='': url for postgresql
--prometheus-namespace='': namespace with installed prometheus for autoscaler
--psql-12-image='centos/postgresql-12-centos7': The database old container image
--pv-pool-default-storage-class='': The default storage class name for BackingStores of type pv-pool
--s3-load-balancer-source-subnets=[]: The source subnets for the S3 service load balancer
--show-secrets=false: Show the secrets in the status output
--sts-load-balancer-source-subnets=[]: The source subnets for the STS service load balancer
--test-env=false: Install the system with test env minimal resource
--test-env=false: Install the system with test env minimal resources
```
(taken from branch 5.16)

Expand Down
Loading
Loading