Skip to content

Commit

Permalink
build: api, golang
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed Mar 31, 2024
1 parent 4a6be01 commit 4268443
Show file tree
Hide file tree
Showing 13 changed files with 155 additions and 139 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
env:
# UPDATE_HERE
# https://hub.docker.com/r/rancher/k3s/tags
K3S_VERSION: v1.29.2-k3s1
K3S_VERSION: v1.29.3-k3s1
# https://github.com/helm-unittest/helm-unittest/releases
HELM_UNITTEST_VERSION: 0.4.2
HELM_UNITTEST_VERSION: 0.4.4

steps:

Expand Down
12 changes: 6 additions & 6 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# UPDATE_HERE
# https://github.com/kubernetes-sigs/kubebuilder/releases
kubebuilder 3.14.0
kubebuilder 3.14.1
# https://golang.org/dl/
golang 1.21.8
golang 1.22.1
# https://github.com/mozilla/sops/releases
sops 3.8.1
# https://github.com/kubernetes-sigs/kustomize/releases
kustomize 5.3.0
# https://github.com/rancher/k3d/releases
k3d 5.6.0
# https://github.com/kubernetes/kubernetes/releases
kubectl 1.29.2
kubectl 1.29.3
# https://github.com/helm/helm/releases
helm 3.14.2
helm 3.14.3
# https://github.com/norwoodj/helm-docs/releases
helm-docs 1.13.1
# https://github.com/yannh/kubeconform/releases
kubeconform 0.6.4
# https://github.com/git-chglog/git-chglog/releases
git-chglog 0.15.4
# https://github.com/golangci/golangci-lint/releases
golangci-lint 1.56.2
golangci-lint 1.57.2
# https://github.com/cli/cli/releases
github-cli 2.45.0
github-cli 2.46.0
4 changes: 2 additions & 2 deletions 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.12.4
SOPS_SEC_OPERATOR_VERSION := 0.12.5

# https://github.com/kubernetes-sigs/controller-tools/releases
CONTROLLER_GEN_VERSION := "v0.14.0"
Expand All @@ -13,7 +13,7 @@ KUSTOMIZE_VERSION := "v5.3.0"
# https://github.com/kubernetes-sigs/controller-runtime/issues/1571
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
# https://storage.googleapis.com/kubebuilder-tools
ENVTEST_K8S_VERSION := "1.29.1"
ENVTEST_K8S_VERSION := "1.29.3"

# Use existing cluster instead of starting processes
USE_EXISTING_CLUSTER ?= true
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.29.x | v3.8.1 | 0.18.4 | 0.12.4 |
| v1.29.x | v3.8.1 | 0.18.5 | 0.12.5 |
| v1.28.x | v3.8.1 | 0.17.4 | 0.11.4 |
| v1.27.x | v3.7.3 | 0.15.5 | 0.9.5 |
| v1.26.x | v3.7.3 | 0.14.2 | 0.8.2 |
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.18.4
appVersion: 0.12.4
version: 0.18.5
appVersion: 0.12.5
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/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CHART_NAME?=$(shell cat Chart.yaml | awk 'BEGIN { FS=": " } $$0~/^name:/ { gsub(
VERSION_TAG?=$(shell cat Chart.yaml | awk 'BEGIN { FS=": " } $$0~/^version/ { gsub(/['\'',]/, ""); print $$2; }')

# UPDATE_HERE
K8S_VERSION := "1.29.1"
K8S_VERSION := "1.29.3"

SHELL=/bin/bash

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 @@ -134,7 +134,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.12.4"` | Operator image tag |
| image.tag | string | `"0.12.5"` | 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.12.4
helm.sh/chart: sops-secrets-operator-0.18.4
app.kubernetes.io/version: 0.12.5
helm.sh/chart: sops-secrets-operator-0.18.5

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

Expand Down
Loading

0 comments on commit 4268443

Please sign in to comment.