Skip to content

Commit d8991dc

Browse files
kahoona77cesmarvin
authored andcommitted
Merge branch 'release/v3.6.4-5'
2 parents 014031d + 5b7fc35 commit d8991dc

8 files changed

+52
-10
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
/dataSources.local.xml
77
# Editor-based HTTP Client requests
88
/httpRequests/
9-
integrationTests/node_modules
9+
integrationTests/node_modules
10+
11+
.bin

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v3.6.4-5] - 2023-06-27
10+
### Added
11+
- [#20] Configuration options for resource requirements
12+
- [#20] Defaults for CPU and memory requests
13+
914
## [v3.6.4-4] - 2023-05-08
1015
### Fixed
1116
- Fix a bug where the routing table returns multiple masks for one ip and the startup script executes

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM registry.cloudogu.com/official/base:3.17.3-2
22
LABEL NAME="official/postfix" \
3-
VERSION="3.6.4-4" \
3+
VERSION="3.6.4-5" \
44
55

66
# INSTALL POSTFIX

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!groovy
2-
@Library(['github.com/cloudogu/ces-build-lib@1.64.2', 'github.com/cloudogu/[email protected]'])
2+
@Library(['github.com/cloudogu/ces-build-lib@1.65.0', 'github.com/cloudogu/[email protected]'])
33
import com.cloudogu.ces.cesbuildlib.*
44
import com.cloudogu.ces.dogubuildlib.*
55

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
MAKEFILES_VERSION=7.4.0
1+
MAKEFILES_VERSION=7.5.0
22

33
.DEFAULT_GOAL:=dogu-release
44

55
include build/make/variables.mk
66
include build/make/self-update.mk
7-
include build/make/release.mk
7+
include build/make/release.mk
8+
include build/make/k8s-dogu.mk

build/make/k8s-controller.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ k8s-integration-test: $(K8S_INTEGRATION_TEST_DIR) manifests generate envtest ##
8383
CONTROLLER_GEN = $(UTILITY_BIN_PATH)/controller-gen
8484
.PHONY: controller-gen
8585
controller-gen: ## Download controller-gen locally if necessary.
86-
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0)
86+
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.11.3)
8787

8888
KUSTOMIZE = $(UTILITY_BIN_PATH)/kustomize
8989
.PHONY: kustomize
9090
kustomize: ## Download kustomize locally if necessary.
91-
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected].2)
91+
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected].7)
9292

9393
ENVTEST = $(UTILITY_BIN_PATH)/setup-envtest
9494
.PHONY: envtest

build/make/mocks.mk

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ MOCKERY_BIN=${UTILITY_BIN_PATH}/mockery
44
MOCKERY_VERSION=v2.20.0
55
MOCKERY_YAML=${WORKDIR}/.mockery.yaml
66

7-
include build/make/variables.mk
8-
97
${MOCKERY_BIN}: ${UTILITY_BIN_PATH}
108
$(call go-get-tool,$(MOCKERY_BIN),github.com/vektra/mockery/v2@$(MOCKERY_VERSION))
119

dogu.json

+37-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/postfix",
3-
"Version": "3.6.4-4",
3+
"Version": "3.6.4-5",
44
"DisplayName": "Postfix",
55
"Description": "Postfix - Mail Transfer Agent",
66
"Logo": "https://cloudogu.com/images/dogus/postfix.png",
@@ -92,13 +92,49 @@
9292
"Type": "BINARY_MEASUREMENT"
9393
}
9494
},
95+
{
96+
"Name": "container_config/memory_request",
97+
"Description": "Requests the container's minimal memory requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). This configuration is only applicable to the Multinode-EcoSystem.",
98+
"Optional": true,
99+
"Validation": {
100+
"Type": "BINARY_MEASUREMENT"
101+
},
102+
"Default": "50m"
103+
},
95104
{
96105
"Name": "container_config/swap_limit",
97106
"Description": "Limits the container's swap memory usage. Use zero or a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). 0 will disable swapping.",
98107
"Optional": true,
99108
"Validation": {
100109
"Type": "BINARY_MEASUREMENT"
101110
}
111+
},
112+
{
113+
"Name": "container_config/cpu_core_limit",
114+
"Description": "Limits the container's CPU core usage. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU. This configuration is only applicable to the Multinode-EcoSystem.",
115+
"Optional": true
116+
},
117+
{
118+
"Name": "container_config/cpu_core_request",
119+
"Description": "Requests the container's minimal CPU core requirement. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU. This configuration is only applicable to the Multinode-EcoSystem.",
120+
"Optional": true,
121+
"Default": "0.05"
122+
},
123+
{
124+
"Name": "container_config/storage_limit",
125+
"Description": "Limits the container's ephemeral storage usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). This configuration is only applicable to the Multinode-EcoSystem.",
126+
"Optional": true,
127+
"Validation": {
128+
"Type": "BINARY_MEASUREMENT"
129+
}
130+
},
131+
{
132+
"Name": "container_config/storage_request",
133+
"Description": "Requests the container's minimal ephemeral storage requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). This configuration is only applicable to the Multinode-EcoSystem.",
134+
"Optional": true,
135+
"Validation": {
136+
"Type": "BINARY_MEASUREMENT"
137+
}
102138
}
103139
],
104140
"HealthChecks": [

0 commit comments

Comments
 (0)