Skip to content

Commit

Permalink
fix: cosmetic changes (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir authored Dec 18, 2021
1 parent 39119b2 commit fa41ae3
Show file tree
Hide file tree
Showing 10 changed files with 89 additions and 66 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# UPDATE_HERE
GO := GOPROXY=https://proxy.golang.org go
SOPS_SEC_OPERATOR_VERSION := 0.4.1
SOPS_SEC_OPERATOR_VERSION := 0.4.2

# https://github.com/kubernetes-sigs/controller-tools/releases
CONTROLLER_GEN_VERSION := "v0.7.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ encrypted files stored in `git` repository.

| Kubernetes | Sops | Chart | Operator |
|---|---|---|---|
| v1.23.x | v3.7.1 | 0.10.1 | 0.4.1 |
| v1.23.x | v3.7.1 | 0.10.2 | 0.4.2 |
| v1.22.x | v3.7.1 | 0.9.7 | 0.3.7 |
| v1.21.x | v3.7.1 | 0.9.6 | 0.3.6 |

Expand Down
3 changes: 2 additions & 1 deletion api/v1alpha3/sopssecret_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ type AzureKmsItem struct {
CreationDate string `json:"created_at,omitempty"`
}

// AgeItem defines FiloSottile/age specific encryption details
type AgeItem struct {
// Recepient which private key can be used for decription
// Recipient which private key can be used for decription
//+optional
Recipient string `json:"recipient,omitempty"`
//+optional
Expand Down
4 changes: 2 additions & 2 deletions chart/helm3/sops-secrets-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
# UPDATE_HERE
version: 0.10.1
appVersion: 0.4.1
version: 0.10.2
appVersion: 0.4.2
type: application
description: Helm chart deploys sops-secrets-operator
name: 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 @@ -131,7 +131,7 @@ The following table lists the configurable parameters of the Sops-secrets-operat
| healthProbes.readiness | object | `{"initialDelaySeconds":5,"periodSeconds":10}` | Readiness probe configuration |
| image.pullPolicy | string | `"Always"` | Operator image pull policy |
| image.repository | string | `"isindir/sops-secrets-operator"` | Operator image name |
| image.tag | string | `"0.4.1"` | Operator image tag |
| image.tag | string | `"0.4.2"` | Operator image tag |
| imagePullSecrets | list | `[]` | Secrets to pull image from private docker repository |
| initImage.pullPolicy | string | `"Always"` | Init container image pull policy |
| initImage.repository | string | `"ubuntu"` | Init container image name |
Expand Down
6 changes: 3 additions & 3 deletions chart/helm3/sops-secrets-operator/tests/operator_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ tests:
app.kubernetes.io/instance: sops
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: sops-secrets-operator
app.kubernetes.io/version: 0.4.1
helm.sh/chart: sops-secrets-operator-0.10.1
app.kubernetes.io/version: 0.4.2
helm.sh/chart: sops-secrets-operator-0.10.2

# custom name
- it: should correctly render custome name
Expand Down Expand Up @@ -171,7 +171,7 @@ tests:
# UPDATE_HERE
- equal:
path: spec.template.spec.containers[0].image
value: isindir/sops-secrets-operator:0.4.1
value: isindir/sops-secrets-operator:0.4.2
- equal:
path: spec.template.spec.containers[0].imagePullPolicy
value: Always
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 @@ -13,7 +13,7 @@ image:
# -- Operator image name
repository: isindir/sops-secrets-operator
# -- Operator image tag
tag: 0.4.1
tag: 0.4.2
# -- Operator image pull policy
pullPolicy: Always

Expand Down
4 changes: 3 additions & 1 deletion config/crd/bases/isindir.github.com_sopssecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,13 @@ spec:
age:
description: Age configuration
items:
description: AgeItem defines FiloSottile/age specific encryption
details
properties:
enc:
type: string
recipient:
description: Recepient which private key can be used for decription
description: Recipient which private key can be used for decription
type: string
type: object
type: array
Expand Down
Loading

0 comments on commit fa41ae3

Please sign in to comment.