Skip to content

Commit 1fe5a35

Browse files
authored
Regenerate controller with code-generator v0.27.1 (#8)
Regenerate controller with code-generator `v0.27.1 ` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent cad29b9 commit 1fe5a35

File tree

9 files changed

+36
-20
lines changed

9 files changed

+36
-20
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2023-09-07T06:33:26Z"
3-
build_hash: 2f2b5e916c59ae2a793a1cc9f9d7333b197c9549
2+
build_date: "2023-09-15T20:39:57Z"
3+
build_hash: 892f29d00a4c4ad21a2fa32919921de18190979d
44
go_version: go1.20.1
5-
version: v0.27.0
5+
version: v0.27.1
66
api_directory_checksum: 0501e26102bccaff71f18fddd72d0e48a5fdeeb6
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.218

config/controller/deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,6 @@ spec:
8585
terminationGracePeriodSeconds: 10
8686
serviceAccountName: ack-pipes-controller
8787
hostIPC: false
88-
hostNetwork: false
8988
hostPID: false
89+
hostNetwork: false
90+
dnsPolicy: ClusterFirst

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: public.ecr.aws/aws-controllers-k8s/pipes-controller
9-
newTag: 1.0.1
9+
newTag: 1.0.2

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: pipes-chart
33
description: A Helm chart for the ACK service controller for Amazon EventBridge Pipes (Pipes)
4-
version: 1.0.1
5-
appVersion: 1.0.1
4+
version: 1.0.2
5+
appVersion: 1.0.2
66
home: https://github.com/aws-controllers-k8s/pipes-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ .Chart.Name }} has been installed.
2-
This chart deploys "public.ecr.aws/aws-controllers-k8s/pipes-controller:1.0.1".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/pipes-controller:1.0.2".
33

44
Check its status by running:
55
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"

helm/templates/deployment.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
k8s-app: {{ include "app.name" . }}
1212
helm.sh/chart: {{ include "chart.name-version" . }}
1313
spec:
14-
replicas: 1
14+
replicas: {{ .Values.deployment.replicas }}
1515
selector:
1616
matchLabels:
1717
app.kubernetes.io/name: {{ include "app.name" . }}
@@ -48,8 +48,9 @@ spec:
4848
- "$(AWS_REGION)"
4949
- --aws-endpoint-url
5050
- "$(AWS_ENDPOINT_URL)"
51+
{{- if .Values.log.enable_development_logging }}
5152
- --enable-development-logging
52-
- "$(ENABLE_DEVELOPMENT_LOGGING)"
53+
{{- end }}
5354
- --log-level
5455
- "$(ACK_LOG_LEVEL)"
5556
- --resource-tags
@@ -58,10 +59,11 @@ spec:
5859
- "$(ACK_WATCH_NAMESPACE)"
5960
- --deletion-policy
6061
- "$(DELETION_POLICY)"
62+
{{- if .Values.leaderElection.enabled }}
6163
- --enable-leader-election
62-
- "$(ENABLE_LEADER_ELECTION)"
6364
- --leader-election-namespace
6465
- "$(LEADER_ELECTION_NAMESPACE)"
66+
{{- end }}
6567
{{- if gt .Values.reconcile.defaultResyncPeriod 0.0 }}
6668
- --reconcile-default-resync-seconds
6769
- "$(RECONCILE_DEFAULT_RESYNC_SECONDS)"
@@ -91,12 +93,8 @@ spec:
9193
value: {{ include "watch-namespace" . }}
9294
- name: DELETION_POLICY
9395
value: {{ .Values.deletionPolicy }}
94-
- name: ENABLED_LEADER_ELECTION
95-
value: {{ .Values.leaderElection.enabled | quote }}
9696
- name: LEADER_ELECTION_NAMESPACE
9797
value: {{ .Values.leaderElection.namespace | quote }}
98-
- name: ACK_ENABLE_DEVELOPMENT_LOGGING
99-
value: {{ .Values.log.enable_development_logging | quote }}
10098
- name: ACK_LOG_LEVEL
10199
value: {{ .Values.log.level | quote }}
102100
- name: ACK_RESOURCE_TAGS
@@ -149,8 +147,9 @@ spec:
149147
priorityClassName: {{ .Values.deployment.priorityClassName }}
150148
{{ end -}}
151149
hostIPC: false
152-
hostNetwork: false
153150
hostPID: false
151+
hostNetwork: {{ .Values.deployment.hostNetwork }}
152+
dnsPolicy: {{ .Values.deployment.dnsPolicy }}
154153
volumes:
155154
{{- if .Values.aws.credentials.secretName -}}
156155
- name: {{ .Values.aws.credentials.secretName }}

helm/templates/leader-election-role-binding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ roleRef:
1414
name: pipes-leader-election-role
1515
subjects:
1616
- kind: ServiceAccount
17-
name: ack-pipes-controller
17+
name: {{ include "service-account.name" . }}
1818
namespace: {{ .Release.Namespace }}{{- end }}

helm/values.schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
"minimum": 1,
4848
"maximum": 65535
4949
},
50+
"replicas": {
51+
"type": "integer"
52+
},
5053
"nodeSelector": {
5154
"type": "object"
5255
},

helm/values.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/pipes-controller
7-
tag: 1.0.1
7+
tag: 1.0.2
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -15,6 +15,10 @@ deployment:
1515
annotations: {}
1616
labels: {}
1717
containerPort: 8080
18+
# Number of Deployment replicas
19+
# This determines how many instances of the controller will be running. It's recommended
20+
# to enable leader election if you need to increase the number of replicas > 1
21+
replicas: 1
1822
# Which nodeSelector to set?
1923
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
2024
nodeSelector:
@@ -28,6 +32,15 @@ deployment:
2832
# Which priorityClassName to set?
2933
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority
3034
priorityClassName: ""
35+
# Specifies the hostname of the Pod.
36+
# If not specified, the pod's hostname will be set to a system-defined value.
37+
hostNetwork: false
38+
# Set DNS policy for the pod.
39+
# Defaults to "ClusterFirst".
40+
# Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.
41+
# To have DNS options set along with hostNetwork, you have to specify DNS policy
42+
# explicitly to 'ClusterFirstWithHostNet'.
43+
dnsPolicy: ClusterFirst
3144
extraVolumes: []
3245
extraVolumeMounts: []
3346

@@ -52,7 +65,7 @@ deployment:
5265
# If "installScope: cluster" then these labels will be applied to ClusterRole
5366
role:
5467
labels: {}
55-
68+
5669
metrics:
5770
service:
5871
# Set to true to automatically create a Kubernetes Service resource for the
@@ -80,7 +93,7 @@ aws:
8093
# Secret stringData key that contains the credentials
8194
secretKey: "credentials"
8295
# Profile used for AWS credentials
83-
profile: "default"
96+
profile: "default"
8497

8598
# log level for the controller
8699
log:

0 commit comments

Comments
 (0)