Skip to content

Commit

Permalink
add fields secretstore and bump chart
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudymax committed Jul 6, 2024
1 parent aecfe50 commit bd57008
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ helm install my-release bitwarden-eso-provider/bitwarden-eso-provider --set bitw
```

# Example ExternalSecret
By default we will create two `ClusterSecretStores` for you that can then be accessed when you create a secret like [this](./examples/example-secret.yaml), but also printed below here:
By default we will create three `ClusterSecretStores` for you (logins, fields & notes) that can then be accessed when you create a secret like [this](./examples/example-secret.yaml), but also printed below here:

```yaml
---
Expand Down Expand Up @@ -116,7 +116,7 @@ spec:
property: password
```
## Testing
## Testing
Searching for items has to be done using JSONpath, you will need to install a utility for that, we use [bashtools/JSONPath.sh](https://github.com/bashtools/JSONPath.sh).
Expand Down
2 changes: 1 addition & 1 deletion charts/bitwarden-eso-provider/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.9.0
version: 0.9.1

# renovate: image=jessebot/bweso
appVersion: "0.8.0"
Expand Down
4 changes: 2 additions & 2 deletions charts/bitwarden-eso-provider/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bitwarden-eso-provider

![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)
![Version: 0.9.1](https://img.shields.io/badge/Version-0.9.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)

Helm chart to use Bitwarden as a Provider for External Secrets Operator

Expand Down Expand Up @@ -65,4 +65,4 @@ Helm chart to use Bitwarden as a Provider for External Secrets Operator
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
11 changes: 11 additions & 0 deletions charts/bitwarden-eso-provider/templates/cluster-secret-stores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,15 @@ spec:
url: {{ include "bitwarden-eso-provider.clusterSecretStore.fieldsUrl" . }}
result:
jsonPath: {{ include "bitwarden-eso-provider.clusterSecretStore.fieldsJsonPath" . }}
---
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
name: bitwarden-notes
spec:
provider:
webhook:
url: {{ include "bitwarden-eso-provider.clusterSecretStore.notesUrl" . }}
result:
jsonPath: {{ include "bitwarden-eso-provider.clusterSecretStore.notesJsonPath" . }}
{{- end }}

0 comments on commit bd57008

Please sign in to comment.