github-actions[bot]
03fa9adf6b
Prepare Release - v1.6.0 ( #140 )
v1.6.0
2022-11-11 17:15:13 +01:00
Eduard Filip
672396716d
Merge pull request #124 from 1Password/feature/migrate-operator
...
Migrate operator to the latest operator-sdk
2022-11-10 19:07:30 +01:00
volodymyrZotov
08baab7218
Merge pull request #139 from 1Password/feature/migrate-operator-rename-deployment
...
Feature/migrate operator rename deployment
2022-11-01 16:00:03 +02:00
volodymyrZotov
cb48c9c902
remove imagePullPolicy from manager.yaml
2022-10-31 18:19:59 +02:00
volodymyrZotov
b05c0661a0
changed label
2022-10-31 18:07:53 +02:00
volodymyrZotov
67330ceeed
change default controller name
2022-10-31 17:36:14 +02:00
volodymyrZotov
24ac4fdc9e
Merge pull request #138 from 1Password/fix/version-generation-in-tests
...
generate random version each time calling mock onepassword item
2022-10-26 16:25:38 +03:00
Eddy Filip
710de1bbc0
Adjust OnePasswordItem test resource names
...
This is made to eliminate the chance of tests being flaky when run in aprallel
2022-10-26 15:18:34 +02:00
volodymyrZotov
d99abbd432
use unique onepassword name in each spec
2022-10-26 11:31:54 +03:00
Eduard Filip
cc26230824
Merge pull request #137 from 1Password/eddy/fix-pipeline
...
Adjust pipeline based on new actions
2022-10-25 17:39:53 +02:00
volodymyrZotov
30a1c136dc
generate random version each time calling mock onepassword item
2022-10-25 18:00:41 +03:00
Eddy Filip
245ec1bcec
Adjust syntax based on latest action version
2022-10-25 14:03:07 +02:00
Eddy Filip
c72174f743
Add license
2022-10-24 20:15:32 +02:00
Eduard Filip
be3fdaa34e
Merge pull request #136 from 1Password/eddy/update-pipelines
...
Update pipelines with latest versions of actions
2022-10-24 19:11:43 +02:00
Eddy Filip
ef40618af7
Update actions versions
2022-10-24 17:28:39 +02:00
Eduard Filip
5ced1c4e97
Merge pull request #135 from 1Password/eddy/update-operator-sdk-version
...
Update operator-sdk version
2022-10-24 17:13:43 +02:00
Eddy Filip
fc1044aaab
Remove namespace resource
...
This is done so that we don't delete the namespace when running `make undeploy`
2022-10-24 15:51:55 +02:00
Eddy Filip
c6c03ca157
Adjust README
2022-10-24 15:45:32 +02:00
Eddy Filip
d75b029dfa
Update operator based on latest operator-sdk
2022-10-24 15:36:56 +02:00
volodymyrZotov
a132741778
Merge pull request #126 from 1Password/feature/controllers_tests
...
Feature/controllers tests
2022-10-24 15:15:32 +03:00
Eddy Filip
d8bfa318f2
Adjust code
2022-10-24 14:09:17 +02:00
Eddy Filip
1d1d824ff4
Adjust context
2022-10-24 13:57:31 +02:00
volodymyrZotov
47922b05e2
Merge pull request #133 from 1Password/migrate-operator-updates
...
Migrate operator updates
2022-10-24 13:59:04 +03:00
volodymyrZotov
2712e9ce7b
Use custom image name for the manager controller
2022-10-24 11:52:19 +03:00
volodymyrZotov
20f81f5b0f
update tests
2022-10-20 11:08:56 +03:00
volodymyrZotov
c8022336da
improve README.md
2022-10-19 18:08:38 +03:00
volodymyrZotov
c4fdcc6f5f
update README.md
2022-10-19 17:44:22 +03:00
volodymyrZotov
916015cd75
use controller image name to build the manager
2022-10-19 17:22:03 +03:00
volodymyrZotov
16d2101da8
use current kubectl namespace to deploy operator
2022-10-19 17:13:05 +03:00
volodymyrZotov
1a8bd75bc8
refactor tests
2022-09-21 13:24:24 +03:00
volodymyrZotov
256b1e09fd
added tests for deployment_controller
2022-09-21 12:09:40 +03:00
volodymyrZotov
11b1eae4e1
cover onepassworditem_controller with tests
2022-09-19 18:49:57 +03:00
volodymyrZotov
108cdac29b
add "Should not update K8s secret testcase"
2022-09-15 18:08:56 +03:00
Eddy Filip
91eb658d70
Add TODOs for missing tests that need to be migrated
2022-09-13 20:08:10 +03:00
Eddy Filip
c3094dbef0
Migrate README
2022-09-13 19:58:18 +03:00
Eddy Filip
e582d33b45
Migrate remaining files from the old version of the repo
...
- Migrate `CHANGELOG.md`, `.VERSION`, `LICENSE`, GitHub pipelines, release script, GitHub issue templates.
- Add in Makefile the commands to prepare release and make the release tag.
2022-09-13 16:54:37 +03:00
Eddy Filip
87ff93daad
Add some tests for both the API Resource Controller and the Deployment Controller
2022-09-13 16:34:36 +03:00
Eddy Filip
5e496d2e77
Upgrade to GinkGo v2
...
Ginkgo has switched to v2 and we should make use of it instead. It doesn't affect how we make tests, but we get the latest enhancements and improvements on the ways tests are executed.
2022-09-13 16:31:08 +03:00
Eddy Filip
1d75f78891
Update packages and add vendor directory
2022-09-13 16:24:52 +03:00
Eddy Filip
23b66f73af
Update Dockerfile and Makefile
2022-09-13 16:23:01 +03:00
Eddy Filip
e8c380464b
Update license in README
2022-09-13 16:19:04 +03:00
Eddy Filip
f1da40aef7
Migrate yaml files.
...
- `deploy/deployment.yaml` is now `config/manager/manager.yaml`
- `deploy/crds/onepassword.com_v1_onepassworditem_cr.yaml` is now `config/samples/onepassword_v1_onepassworditem.yaml`
2022-09-13 16:18:51 +03:00
Eddy Filip
75501e5b1c
Add missing packages
...
- `version` is used for getting the operator version and the operator SDK version in the logs.
- `k8suitl` is extracted from the operator-sdk to be able to fetch the namespace the operator is deployed to. This is used to deploy Connect in the same namespace if `MANAGE_CONNECT` is set to `true`. In the future, we may want to no rely on this, since this functionality is internal in the operator-sdk.
2022-09-13 16:10:25 +03:00
Eddy Filip
28c3ffade7
Add yaml files for deploying Connect
...
These yaml files are used when the environment variable `MANAGE_CONNECT` for the operator is set to `true`.
2022-09-13 16:08:26 +03:00
Eddy Filip
946e986048
Migrate main.go
2022-09-13 16:07:06 +03:00
Eddy Filip
250785f4af
Migrate Deployment Controller
2022-09-13 16:05:29 +03:00
Eddy Filip
e276ca1148
Clean test code
2022-09-13 15:57:53 +03:00
Eddy Filip
be7b63c37e
Update Connect mock client to reflect the latest version of Connect client
2022-09-13 15:56:42 +03:00
Eddy Filip
622fcd64b8
Add packages
...
- Add the packages that help the operator work as expected.
- Update `go.mod` by running `go mod tidy`.
2022-09-13 15:40:39 +03:00
Eddy Filip
96b78795af
Implement the OnePasswordItem Controller
...
- Migrate the functionality of the Controller for the OnePasswordItem resource.
- Add the RBAC markers that will generate the RBAC permissions.
- Run `make manifests` to generate the RBAC permissions.
2022-09-13 15:21:40 +03:00