Skip to content

Commit

Permalink
Release v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jpreese committed Apr 3, 2020
1 parent aac85fc commit 90e7ab7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -100,15 +102,14 @@ 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.**

`PULL_SECRET_NAME` should be the name of the pull secret that exists in your cluster. By default, the operator will look for your secret in the `default` namespace.

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.
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
4 changes: 2 additions & 2 deletions deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 90e7ab7

Please sign in to comment.