Skip to content

Commit

Permalink
Merge branch 'release/v0.2.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
robertauer authored and cesmarvin committed Mar 20, 2024
2 parents ae6e018 + b5c7903 commit 03fdc1e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v0.2.0] - 2024-03-20
### Added
- [71] Add optional volume mount for self-signed certificate for the dogu registry.

## [v0.1.0] - 2024-03-20
### Added
General:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN make compile-generic
FROM gcr.io/distroless/static:nonroot
LABEL maintainer="hello@cloudogu.com" \
NAME="k8s-blueprint-operator" \
VERSION="0.1.0"
VERSION="0.2.0"

WORKDIR /
COPY --from=builder /workspace/target/k8s-blueprint-operator .
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Set these to the desired values
ARTIFACT_ID=k8s-blueprint-operator
VERSION=0.1.0
VERSION=0.2.0
IMAGE=cloudogu/${ARTIFACT_ID}:${VERSION}
GOTAG=1.21
MAKEFILES_VERSION=9.0.1
Expand Down
2 changes: 1 addition & 1 deletion k8s/helm/component-patch-tpl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
values:
images:
blueprintOperator: cloudogu/k8s-blueprint-operator:0.1.0
blueprintOperator: cloudogu/k8s-blueprint-operator:0.2.0
kubeRbacProxy: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
patches:
values.yaml:
Expand Down
11 changes: 10 additions & 1 deletion k8s/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,18 @@ spec:
drop:
- ALL
imagePullPolicy: {{ .Values.manager.imagePullPolicy }}
volumeMounts:
- mountPath: /etc/ssl/certs/dogu-registry-cert.pem
name: dogu-registry-cert
subPath: dogu-registry-cert.pem
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
serviceAccountName: {{ include "k8s-blueprint-operator.name" . }}-controller-manager
terminationGracePeriodSeconds: 10
terminationGracePeriodSeconds: 10
volumes:
- name: dogu-registry-cert
secret:
optional: true
secretName: {{ .Values.doguRegistry.certificate.secret }}
5 changes: 4 additions & 1 deletion k8s/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ manager:
replicas: 1
image:
repository: cloudogu/k8s-blueprint-operator
tag: 0.1.0
tag: 0.2.0
imagePullPolicy: IfNotPresent
env:
logLevel: info
Expand Down Expand Up @@ -33,3 +33,6 @@ healthConfig:
wait:
timeout: 10m
interval: 10s
doguRegistry:
certificate:
secret: dogu-registry-cert
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
k8sv1 "github.com/cloudogu/k8s-blueprint-operator/pkg/adapter/kubernetes/blueprintcr/v1"
"github.com/cloudogu/k8s-blueprint-operator/pkg/adapter/reconciler"
"github.com/cloudogu/k8s-blueprint-operator/pkg/config"
//+kubebuilder:scaffold:imports
// +kubebuilder:scaffold:imports
)

var (
Expand All @@ -49,7 +49,7 @@ func init() {
utilruntime.Must(clientgoscheme.AddToScheme(scheme))

utilruntime.Must(k8sv1.AddToScheme(scheme))
//+kubebuilder:scaffold:scheme
// +kubebuilder:scaffold:scheme
}

func main() {
Expand Down

0 comments on commit 03fdc1e

Please sign in to comment.