diff --git a/README.md b/README.md index 651ed11..baf2a8a 100644 --- a/README.md +++ b/README.md @@ -17,20 +17,22 @@ This repository contains a [deploy](deploy) folder which contains all of the man If you would like to apply your own customizations, reference the `deploy` folder and the version in your `kustomization.yaml`. -#### Kustomize v2 +#### Kustomize v2 + (version used in `kubectl apply -k .`) ```yaml bases: -- git::https://github.com/plexsystems/sandbox-operator.git//deploy?ref=v0.8.0 +- git::https://github.com/plexsystems/sandbox-operator.git//deploy?ref=v0.9.0 ``` #### Kustomize v3 + Latest version of Kustomize if installed as a standalone. Also version embedded in flux. ```yaml resources: -- git::https://github.com/plexsystems/sandbox-operator.git//deploy?ref=v0.8.0 +- git::https://github.com/plexsystems/sandbox-operator.git//deploy?ref=v0.9.0 ``` The [example](example) folder shows one example of how to customize the operator. @@ -100,7 +102,7 @@ If no credentials are provided, the operator will create the `Role` and `Cluster ### Docker Pull Secrets -By default, the operator will not create any secrets in the provisioned namespace. +By default, the operator will not create any secrets in the provisioned namespace. **If the `PULL_SECRET_NAME` environment variable is set, the operator will copy your clusters pull secret to the provisioned namespace and patch the default service account.** @@ -108,7 +110,6 @@ By default, the operator will not create any secrets in the provisioned namespac To have the operator look in a different namespace for the pull secret, use the `PULL_SECRET_NAMESPACE` environment variable. - ## Creating a Sandbox To create a Sandbox, apply a Sandbox CRD to the target cluster. @@ -145,7 +146,6 @@ Assuming the name of the created Sandbox is named `foo`, the following resources |---|---|---|---| |*|operators.plex.dev|sandboxes|sandbox-foo| - This is created so that only users defined in the `owners` field can delete their Sandboxes. ### ClusterRoleBinding (sandbox-foo-admins) diff --git a/bundle.yaml b/bundle.yaml index 899f594..47f484d 100644 --- a/bundle.yaml +++ b/bundle.yaml @@ -170,7 +170,7 @@ kind: Deployment metadata: labels: app.kubernetes.io/name: sandbox-operator - app.kubernetes.io/version: "0.8.0" + app.kubernetes.io/version: v0.9.0 name: sandbox-operator spec: selector: @@ -195,7 +195,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name - image: plexsystems/sandbox-operator:v0.8.0 + image: plexsystems/sandbox-operator:v0.9.0 imagePullPolicy: IfNotPresent name: sandbox-operator serviceAccountName: sandbox-operator-sa diff --git a/deploy/deployment.yaml b/deploy/deployment.yaml index a275ae6..d3063db 100644 --- a/deploy/deployment.yaml +++ b/deploy/deployment.yaml @@ -4,7 +4,7 @@ metadata: name: sandbox-operator labels: app.kubernetes.io/name: sandbox-operator - app.kubernetes.io/version: "0.8.0" + app.kubernetes.io/version: v0.9.0 spec: selector: matchLabels: @@ -17,7 +17,7 @@ spec: serviceAccountName: sandbox-operator-sa containers: - name: sandbox-operator - image: plexsystems/sandbox-operator:v0.8.0 + image: plexsystems/sandbox-operator:v0.9.0 command: - sandbox-operator imagePullPolicy: IfNotPresent diff --git a/main.go b/main.go index 33adf7c..7b8e93b 100644 --- a/main.go +++ b/main.go @@ -26,7 +26,7 @@ var ( metricsHost = "0.0.0.0" metricsPort int32 = 8383 operatorMetricsPort int32 = 8686 - version = "0.8.0" + version = "v0.9.0" ) func main() {