Skip to content

Commit

Permalink
Update to ACK runtime v0.26.0, code-generator v0.26.1 (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: ci-robot <ci-robot@k8s.io>
  • Loading branch information
ack-bot and ci-robot committed Jun 15, 2023
1 parent 3058c82 commit 23ae809
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 11 deletions.
6 changes: 3 additions & 3 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ack_generate_info:
build_date: "2023-05-01T22:43:30Z"
build_hash: 6657565bb742e5cd4cd340d01d5e4786b5fbabc0
build_date: "2023-05-15T23:33:07Z"
build_hash: 8f3ba427974fd6e769926778d54834eaee3b81a3
go_version: go1.19
version: v0.26.0
version: v0.26.1
api_directory_checksum: 57450e5cda284334325fd5db32e833165d5426ae
api_version: v1alpha1
aws_sdk_go_version: v1.44.93
Expand Down
3 changes: 3 additions & 0 deletions config/controller/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
capabilities:
drop:
- ALL
securityContext:
seccompProfile:
type: RuntimeDefault
terminationGracePeriodSeconds: 10
serviceAccountName: ack-opensearchservice-controller
hostIPC: false
Expand Down
2 changes: 1 addition & 1 deletion config/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: controller
newName: public.ecr.aws/aws-controllers-k8s/opensearchservice-controller
newTag: v0.0.15
newTag: 0.0.16
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: opensearchservice-chart
description: A Helm chart for the ACK service controller for Amazon OpenSearch Service (OpenSearch)
version: v0.0.15
appVersion: v0.0.15
version: 0.0.16
appVersion: 0.0.16
home: https://github.com/aws-controllers-k8s/opensearchservice-controller
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ .Chart.Name }} has been installed.
This chart deploys "public.ecr.aws/aws-controllers-k8s/opensearchservice-controller:v0.0.15".
This chart deploys "public.ecr.aws/aws-controllers-k8s/opensearchservice-controller:0.0.16".

Check its status by running:
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If release name contains chart name it will be used as a full name.

{{- define "watch-namespace" -}}
{{- if eq .Values.installScope "namespace" -}}
{{- .Release.Namespace -}}
{{ .Values.watchNamespace | default .Release.Namespace }}
{{- end -}}
{{- end -}}

Expand Down
3 changes: 3 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ spec:
capabilities:
drop:
- ALL
securityContext:
seccompProfile:
type: RuntimeDefault
terminationGracePeriodSeconds: 10
nodeSelector: {{ toYaml .Values.deployment.nodeSelector | nindent 8 }}
{{ if .Values.deployment.tolerations -}}
Expand Down
3 changes: 3 additions & 0 deletions helm/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@
"type": "string",
"enum": ["cluster", "namespace"]
},
"watchNamespace": {
"type": "string"
},
"resourceTags": {
"type": "array",
"items": {
Expand Down
8 changes: 6 additions & 2 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

image:
repository: public.ecr.aws/aws-controllers-k8s/opensearchservice-controller
tag: v0.0.15
tag: 0.0.16
pullPolicy: IfNotPresent
pullSecrets: []

Expand All @@ -31,7 +31,7 @@ deployment:

# If "installScope: cluster" then these labels will be applied to ClusterRole
role:
labels: {}
labels: {}

metrics:
service:
Expand Down Expand Up @@ -72,6 +72,10 @@ log:
# cluster wide.
installScope: cluster

# Set the value of the "namespace" to be watched by the controller
# This value is only used when the `installScope` is set to "namespace". If left empty, the default value is the release namespace for the chart.
watchNamespace: ""

resourceTags:
# Configures the ACK service controller to always set key/value pairs tags on
# resources that it manages.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resource/domain/resource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23ae809

Please sign in to comment.