Skip to content

Commit 8be797c

Browse files
authored
Merge branch 'main' into dependabot/github_actions/dot-github/workflows/dawidd6/action-download-artifact-10
2 parents d7340a8 + 02ff41e commit 8be797c

File tree

11 files changed

+39
-10
lines changed

11 files changed

+39
-10
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
45+
uses: github/codeql-action/init@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.5
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
56+
uses: github/codeql-action/autobuild@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.5
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
70+
uses: github/codeql-action/analyze@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.5

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [0.17.13] - 2025-07-21
4+
5+
- [587](https://github.com/Azure/draft/pull/587) Make replica count configurable across all deployment templates
6+
- Dependabot updates for dependencies and actions
7+
38
## [0.17.12] - 2025-05-16
49

510
- [564](https://github.com/Azure/draft/pull/564) fix interactive bug

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ require (
147147
golang.org/x/crypto v0.36.0 // indirect
148148
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
149149
golang.org/x/net v0.38.0 // indirect
150-
golang.org/x/oauth2 v0.19.0 // indirect
150+
golang.org/x/oauth2 v0.27.0 // indirect
151151
golang.org/x/sync v0.12.0 // indirect
152152
golang.org/x/sys v0.31.0 // indirect
153153
golang.org/x/term v0.30.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,8 @@ golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
520520
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
521521
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
522522
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
523-
golang.org/x/oauth2 v0.19.0 h1:9+E/EZBCbTLNrbN35fHv/a/d/mOBatymz1zbtQrXpIg=
524-
golang.org/x/oauth2 v0.19.0/go.mod h1:vYi7skDa1x015PmRRYZ7+s1cWyPgrPiSYRe4rnsexc8=
523+
golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
524+
golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
525525
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
526526
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
527527
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

template/deployments/helm/charts/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Default values for {{ .Config.GetVariableValue "APPNAME"}}.
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
4-
replicaCount: 2
4+
replicaCount: {{ .Config.GetVariableValue "REPLICACOUNT" }}
55

66
namespace: {{ .Config.GetVariableValue "NAMESPACE" }}
77

template/deployments/helm/draft.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ variables:
3030
value: default
3131
description: " the namespace to place new resources in"
3232
versions: ">=0.0.1"
33+
- name: "REPLICACOUNT"
34+
type: "int"
35+
kind: "replicaCount"
36+
default:
37+
disablePrompt: true
38+
value: 2
39+
description: "the number of replicas for the deployment"
40+
versions: ">=0.0.1"
3341
- name: "IMAGENAME"
3442
type: "string"
3543
kind: "containerImageName"

template/deployments/kustomize/base/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
kubernetes.azure.com/generator: {{ .Config.GetVariableValue "GENERATORLABEL" }}
88
namespace: {{ .Config.GetVariableValue "NAMESPACE" }}
99
spec:
10-
replicas: 2
10+
replicas: {{ .Config.GetVariableValue "REPLICACOUNT" }}
1111
selector:
1212
matchLabels:
1313
app.kubernetes.io/name: {{ .Config.GetVariableValue "APPNAME" }}

template/deployments/kustomize/draft.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ variables:
3030
value: default
3131
description: " the namespace to place new resources in"
3232
versions: ">=0.0.1"
33+
- name: "REPLICACOUNT"
34+
type: "int"
35+
kind: "replicaCount"
36+
default:
37+
disablePrompt: true
38+
value: 2
39+
description: "the number of replicas for the deployment"
40+
versions: ">=0.0.1"
3341
- name: "IMAGENAME"
3442
type: "string"
3543
kind: "containerImageName"

template/deployments/manifests/draft.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ variables:
3030
value: default
3131
description: " the namespace to place new resources in"
3232
versions: ">=0.0.1"
33+
- name: "REPLICACOUNT"
34+
type: "int"
35+
kind: "replicaCount"
36+
default:
37+
disablePrompt: true
38+
value: 2
39+
description: "the number of replicas for the deployment"
40+
versions: ">=0.0.1"
3341
- name: "IMAGENAME"
3442
type: "string"
3543
kind: "containerImageName"

template/deployments/manifests/manifests/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
kubernetes.azure.com/generator: {{ .Config.GetVariableValue "GENERATORLABEL" }}
88
namespace: {{ .Config.GetVariableValue "NAMESPACE" }}
99
spec:
10-
replicas: 2
10+
replicas: {{ .Config.GetVariableValue "REPLICACOUNT" }}
1111
selector:
1212
matchLabels:
1313
app.kubernetes.io/name: {{ .Config.GetVariableValue "APPNAME" }}

0 commit comments

Comments
 (0)