jillianwilson
ad02c6f6c0
Add option to cosume connect events rather than polling to restart deployments
2021-10-15 15:07:13 -03:00
jillianwilson
f439b04415
Adding supporting injected secrets via webhook
2021-10-15 12:20:45 -03:00
Jillian W
ee12dd449a
Merge pull request #75 from 1Password/refactor-kubernetes
...
Moving operator code to a designated folder
2021-10-14 13:12:26 -03:00
jillianwilson
e6ca8d49ba
Addressing PR comments
2021-10-06 14:07:37 -03:00
jillianwilson
f974d3f398
Moving operator code to a designated folder so that webhook work can also be included in this repo
2021-09-28 15:07:19 -03:00
David Gunter
d807e92c36
Merge pull request #71 from 1Password/release/v1.1.0
...
Prepare Release - v1.1.0
v1.1.0
2021-09-23 11:21:16 -07:00
david.gunter
244771717c
Prepare release/1.1.0
2021-09-23 11:18:53 -07:00
Floris van der Grinten
7aeb36e383
Merge pull request #66 from 1Password/fix/handling-key-names
...
Handling key names
2021-09-13 13:34:44 +02:00
Floris van der Grinten
5c2f840623
Merge pull request #43 from mcmarkj/pass-labels-and-annotations
...
Add Labels & Annotations from OPObject to Secret
2021-09-13 13:33:38 +02:00
Eddy Filip
670040477e
Add max length for secret key names
...
Max length for secret key names must be DNS1123 compliant (253)
2021-09-08 16:02:08 +03:00
Eddy Filip
a45a310611
Make secret names DNS1123 Subdomain compiant
...
This is done while ensuring that secret keys are compliant (contain alphanumeric characters, `-`, `_` and `.`)
2021-09-08 15:36:40 +03:00
Eddy Filip
d80e8dd799
Add tests with names that contain .
and _
2021-09-08 13:58:48 +03:00
Eddy Filip
88728909ff
Adjust regex to support _
and .
and trim them
...
Now secret names can also contain `_` and `.` and they will be trimmed from start and end of string to be DNS1123 compliant
2021-09-08 13:49:32 +03:00
Marton Soos
e365ebfdfa
Fix tests
2021-09-03 15:42:02 +03:00
Marton Soos
2c4b4df01a
Do not make secret names lowercase on normalization
2021-09-03 15:41:46 +03:00
Jillian W
49d984c6f2
Merge pull request #64 from 1Password/release/v1.0.2
...
Preparing release
v1.0.2
2021-08-27 15:32:40 -03:00
jillianwilson
72cad7284c
Preparing release
2021-08-27 15:21:07 -03:00
mcmarkj
0193a98681
Merge branch 'main' of github.com:1Password/onepassword-operator into pass-labels-and-annotations
2021-08-19 16:15:02 +01:00
mcmarkj
f241d7423d
Use deepequal
2021-08-19 16:11:29 +01:00
Eduard Filip
6043e0da0b
Merge pull request #58 from 1Password/dg/normalize-secret-name
...
Add secret name normalizer to the operator.
2021-08-17 20:28:07 +02:00
Eddy Filip
753cc5e9a3
Update note in README
...
The note now explains how the item title and fields are made into DNS subdomain-compliant names for creating Kubernetes secrets.
2021-08-16 15:24:04 +02:00
Eddy Filip
8cfe98073e
Improve testing
...
Fix previous tests and add test for items with field names that are not valid DNS subdomain names.
2021-08-16 14:51:44 +02:00
mcmarkj
c0037526b0
remove commit file
2021-08-15 15:32:18 +01:00
david.gunter
96b42e7c52
Label normalizer now fixes both Secret names and data keys.
...
Each key in the `data` section of a secret must also be a valid DNS subdomain. The operator needs to "fix" the 1Password item fields before trying to create the secret.
2021-08-06 13:18:21 -07:00
david.gunter
579b5848da
Add secret name normalizer to the operator.
...
The operator will now reformat 1Password item names to become valid names K8s Secret objects. Secret names must be a valid DNS subdomain name. See more: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names
2021-08-05 16:39:55 -07:00
mcmarkj
dff934cbc3
Fix tests
2021-08-04 06:33:56 +01:00
mcmarkj
2096f4440f
add logic for checking for label or annotation updates
2021-08-03 21:32:04 +01:00
mcmarkj
b3fc707337
Merge branch 'main' of github.com:1Password/onepassword-operator into pass-labels-and-annotations
2021-07-23 15:29:24 +01:00
Eduard Filip
b50d864b50
Merge pull request #46 from 1Password/connect-deploy-custom-namespace
...
Add support custom namespace for connect deployment
2021-06-17 14:13:43 +03:00
Eduard Filip
1643385d9b
Merge pull request #45 from 1Password/fix/makefile
...
Add missing argument for docker build
2021-06-17 14:13:11 +03:00
Eddy Filip
9441214733
Add support custom namespace for connect deployment
...
Now when the operator is deployed with the `MANAGE_CONNECT` env var set to true, the connect instance is deployed in the same namespace as the operator.
2021-06-09 20:45:33 +03:00
Eddy Filip
7e4e988813
Add missing argument for docker build
...
`make build` and `make build/local` would fail because the docker build commands were incomplete.
2021-06-09 16:02:05 +03:00
mcmarkj
fb1262f1bd
PR Feedback'
2021-06-07 21:51:44 +01:00
Simon Barendse
68f084080e
Merge pull request #40 from 1Password/feature/watch-namespaces-default
...
Watch all namespaces by default
2021-06-07 14:25:48 +02:00
mcmarkj
a428fe7462
GoFMT
2021-05-28 18:15:17 +01:00
mcmarkj
ea2d1f8a09
Typo
2021-05-28 18:11:10 +01:00
mcmarkj
bd96d50a9b
Add Labels & Annotations from OPObject to Secret
2021-05-28 16:39:00 +01:00
Simon Barendse
859c9e3462
Watch all namespaces by default
...
When nothing is configured, watch all namespaces by default. This
makes it easier to get started.
It also makes configuring to watch all namespaces less akward
(currently you have to set the WATCH_NAMESPACE environment variable
to the empty string to configure the operator to watch all namespaces.
2021-05-14 14:26:30 +02:00
Simon Barendse
9dabac4a55
Merge pull request #35 from 1Password/auto-restart-annotation-example
...
Fix examples using the auto-restart annotation
2021-05-07 11:33:54 +02:00
Simon Barendse
d927a08790
Fix examples using the auto-restart annotation
2021-05-03 18:14:02 +02:00
Simon Barendse
933f7c4e2c
Merge pull request #33 from lemichello/readme-token-name
...
Make token name used in README and deploy/operator.yaml consistent
2021-05-03 18:04:07 +02:00
Floris van der Grinten
81eb9a521f
Merge pull request #34 from 1Password/support-links
...
Update documentation links
2021-05-03 18:02:09 +02:00
Simon Barendse
eb32bd7f94
Update documentation links
...
Also switch b5dev.com to 1password.com
2021-05-03 16:59:32 +02:00
Simon Barendse
a5781af949
Update documentation links
...
The documentation is moved to our main support site when the
operator was publicly released. The old URLs are redirected to
the new URLs used in this commit, however, when redirecting the
anchor is lost and the page is not scrolled to that position on
the page. This commit fixes that by changing the URLs to the new
URLs.
2021-05-03 16:56:49 +02:00
Maksym Lemich
0aa5781acd
renamed the proposed secret name for the token
2021-05-03 14:07:59 +03:00
Joris Coenen
700be4426f
Merge pull request #31 from 1Password/armv7-image
...
Add arm/v7 image
2021-04-30 17:43:07 +02:00
Joris Coenen
76ef9aa372
Merge pull request #30 from 1Password/fix-cli-version
...
Fix the version passed to the image
2021-04-30 16:39:29 +02:00
Joris Coenen
d7e6704314
Add arm/v7 image
...
Needed to run on a Raspberry Pi.
Arm/v6 would also be nice, but this does not seem to be supported by the current base image gcr.io/distroless/static:nonroot. So let's go with this for now.
2021-04-30 16:39:05 +02:00
Joris Coenen
2443979602
Fix the version passed to the image
...
Contrary to what internet resources say, ${{github.event.ref}} also contains the `ref/tags/` prefix. That is removed now.
Also, setting the version with plain "-X version.Version" does not seem to work consistently. Adding the full package as a prefix fixes this.
2021-04-30 16:12:45 +02:00
Joris Coenen
5b65196d31
Merge pull request #29 from 1Password/release/v1.0.1
...
Release v1.0.1
v1.0.1
2021-04-30 14:31:35 +02:00