Skip to content

Commit

Permalink
fix: helm charts - default image pull policy; symlink crds in charts …
Browse files Browse the repository at this point in the history
…directory to deploy
  • Loading branch information
isindir committed Jul 5, 2020
1 parent f6dac56 commit 221e0a6
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 275 deletions.
1 change: 1 addition & 0 deletions chart/crds
34 changes: 0 additions & 34 deletions chart/crds/00init.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions chart/crds/01update.yaml

This file was deleted.

44 changes: 0 additions & 44 deletions chart/crds/02add.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions chart/crds/03delete.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions chart/crds/isindir_v1alpha1_sopssecret_cr.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions chart/crds/isindir_v1alpha1_sopssecret_crd.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions chart/crds/jenkins-ns.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion chart/helm2/sops-secrets-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
version: 0.1.9
version: 0.1.10
appVersion: 0.0.10
description: sops secrets operator
name: sops-secrets-operator
Expand Down
2 changes: 1 addition & 1 deletion chart/helm2/sops-secrets-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The following table lists the configurable parameters of the Sops-secrets-operat
| `replicaCount` | Deployment replica count - should not be modified | `1` |
| `image.repository` | Operator image | `"isindir/sops-secrets-operator"` |
| `image.tag` | Operator image tag | `"0.0.10"` |
| `image.pullPolicy` | Operator image pull policy | `"AlwaysPull"` |
| `image.pullPolicy` | Operator image pull policy | `"Always"` |
| `imagePullSecrets` | Secrets to pull image from private docker repository | `[]` |
| `nameOverride` | Overrides auto-generated short resource name | `""` |
| `fullnameOverride` | Overrides auto-generated long resource name | `""` |
Expand Down
2 changes: 1 addition & 1 deletion chart/helm2/sops-secrets-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1 # Deployment replica count - should not be modified
image:
repository: isindir/sops-secrets-operator # Operator image
tag: 0.0.10 # Operator image tag
pullPolicy: AlwaysPull # Operator image pull policy
pullPolicy: Always # Operator image pull policy

imagePullSecrets: [] # Secrets to pull image from private docker repository
nameOverride: "" # Overrides auto-generated short resource name
Expand Down
2 changes: 1 addition & 1 deletion chart/helm3/sops-secrets-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 0.1.0
version: 0.2.1
appVersion: 0.0.10
type: application
description: sops secrets operator
Expand Down
2 changes: 1 addition & 1 deletion chart/helm3/sops-secrets-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The following table lists the configurable parameters of the Sops-secrets-operat
| `replicaCount` | Deployment replica count - should not be modified | `1` |
| `image.repository` | Operator image | `"isindir/sops-secrets-operator"` |
| `image.tag` | Operator image tag | `"0.0.10"` |
| `image.pullPolicy` | Operator image pull policy | `"AlwaysPull"` |
| `image.pullPolicy` | Operator image pull policy | `"Always"` |
| `imagePullSecrets` | Secrets to pull image from private docker repository | `[]` |
| `nameOverride` | Overrides auto-generated short resource name | `""` |
| `fullnameOverride` | Overrides auto-generated long resource name | `""` |
Expand Down
2 changes: 1 addition & 1 deletion chart/helm3/sops-secrets-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1 # Deployment replica count - should not be modified
image:
repository: isindir/sops-secrets-operator # Operator image
tag: 0.0.10 # Operator image tag
pullPolicy: AlwaysPull # Operator image pull policy
pullPolicy: Always # Operator image pull policy

imagePullSecrets: [] # Secrets to pull image from private docker repository
nameOverride: "" # Overrides auto-generated short resource name
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/sopssecret/sopssecret_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (r *ReconcileSopsSecret) Reconcile(request reconcile.Request) (reconcile.Re
}

if !metav1.IsControlledBy(foundSecret, instance) {
return reconcile.Result{}, fmt.Errorf("Secret isn't currently owned by sops-secrets-operator")
return reconcile.Result{}, fmt.Errorf("secret isn't currently owned by sops-secrets-operator")
}

origSecret := foundSecret
Expand Down

0 comments on commit 221e0a6

Please sign in to comment.