Skip to content

Commit

Permalink
Merge pull request #480 from appuio/add-disabled-envs-uro
Browse files Browse the repository at this point in the history
Upgrade Stardog User Role Operator to 0.2.0
  • Loading branch information
psy-q authored Jun 21, 2023
2 parents 716b186 + f9e789c commit 44f5ec4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ helm repo add appuio https://charts.appuio.ch
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/signalilo-0.12.0/total)](https://github.com/appuio/charts/releases/tag/signalilo-0.12.0) | [signalilo](appuio/signalilo/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/snappass-1.0.0/total)](https://github.com/appuio/charts/releases/tag/snappass-1.0.0) | [snappass](appuio/snappass/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.18.1/total)](https://github.com/appuio/charts/releases/tag/stardog-0.18.1) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-userrole-operator-0.1.1/total)](https://github.com/appuio/charts/releases/tag/stardog-userrole-operator-0.1.1) | [stardog-userrole-operator](appuio/stardog-userrole-operator/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-userrole-operator-0.2.0/total)](https://github.com/appuio/charts/releases/tag/stardog-userrole-operator-0.2.0) | [stardog-userrole-operator](appuio/stardog-userrole-operator/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/trifid-2.0.1/total)](https://github.com/appuio/charts/releases/tag/trifid-2.0.1) | [trifid](appuio/trifid/README.md) |

## Add / Update Charts
Expand Down
4 changes: 2 additions & 2 deletions appuio/stardog-userrole-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: stardog-userrole-operator
version: 0.1.1
appVersion: 0.1.1
version: 0.2.0
appVersion: 0.2.0
description: Stardog User and Role Operator
sources:
- https://github.com/vshn/stardog-userrole-operator
Expand Down
7 changes: 4 additions & 3 deletions appuio/stardog-userrole-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stardog-userrole-operator

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: 0.1.1](https://img.shields.io/badge/AppVersion-0.1.1-informational?style=flat-square)
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square)

Stardog User and Role Operator

Expand All @@ -21,12 +21,13 @@ Edit the README.gotmpl.md template instead.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| config.clusterAccess.enabled | bool | `true` | Enable cluster access to operator |
| config.env.DISABLED_ENVIRONMENTS | string | `""` | semicolon separated ex: "stardog-test;stardog-prod" |
| config.env.RECONCILIATION_FREQUENCY | string | `"30s"` | Reconciliation frequency of CRD |
| config.env.RECONCILIATION_FREQUENCY_ON_ERROR | string | `"5m"` | Reconciliation frequency of CRD on error |
| image.pullPolicy | string | `"Always"` | |
| image.registry | string | `"docker.io"` | |
| image.registry | string | `"ghcr.io"` | |
| image.repository | string | `"vshn/stardog-userrole-operator"` | |
| image.tag | string | `"v0.1.1"` | |
| image.tag | string | `"v0.2.0"` | |
| imagePullSecrets | list | `[]` | |
| leaderElection.enabled | bool | `false` | Enable leader election for multiple replicas |
| metrics.proxy.enabled | bool | `false` | Enable metrics via service behind a authenticated proxy |
Expand Down
4 changes: 2 additions & 2 deletions appuio/stardog-userrole-operator/test/deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func Test_Deployment_ShouldRender_ImagePullSecrets(t *testing.T) {
}

func Test_Deployment_ShouldRender_CorrectImage(t *testing.T) {
expectedImage := "docker.io/vshn/stardog-userrole-operator:v0.1.1"
expectedImage := "ghcr.io/vshn/stardog-userrole-operator:v0.2.0"
options := &helm.Options{}

got := renderDeployment(t, options, false)
Expand All @@ -83,7 +83,7 @@ func Test_Deployment_ShouldRender_CorrectImage(t *testing.T) {
}

func Test_Deployment_WhenProxyEnabled_ThenEnableRBACContainer(t *testing.T) {
expectedBaseImage := "docker.io/vshn/stardog-userrole-operator:v0.1.1"
expectedBaseImage := "ghcr.io/vshn/stardog-userrole-operator:v0.2.0"
expectedProxyImage := "gcr.io/kubebuilder/kube-rbac-proxy:v0.12.0"
options := &helm.Options{
SetValues: map[string]string{
Expand Down
8 changes: 6 additions & 2 deletions appuio/stardog-userrole-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
registry: docker.io
registry: ghcr.io
repository: vshn/stardog-userrole-operator
tag: v0.1.1
tag: v0.2.0
pullPolicy: Always

imagePullSecrets: []
Expand Down Expand Up @@ -30,6 +30,10 @@ config:
RECONCILIATION_FREQUENCY: "30s"
# -- Reconciliation frequency of CRD on error
RECONCILIATION_FREQUENCY_ON_ERROR: "5m"
# -- Which environments should be skipped during reconciliation of Namespaced CRD
# -- Currently: StardogUser, StardogRole and StardogInstance CRD
# -- semicolon separated ex: "stardog-test;stardog-prod"
DISABLED_ENVIRONMENTS: ""

resources:
limits:
Expand Down

0 comments on commit 44f5ec4

Please sign in to comment.