File tree Expand file tree Collapse file tree 6 files changed +57
-6
lines changed Expand file tree Collapse file tree 6 files changed +57
-6
lines changed Original file line number Diff line number Diff line change 11apiVersion : v1
22name : ack-mq-controller
33description : A Helm chart for the ACK service controller for mq
4- version : v0.0.4
5- appVersion : v0.0.4
4+ version : v0.0.5
5+ appVersion : v0.0.5
66home : https://github.com/aws-controllers-k8s/mq-controller
77icon : https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88sources :
Original file line number Diff line number Diff line change 3434 metadata :
3535 type : object
3636 spec :
37- description : BrokerSpec defines the desired state of Broker
37+ description : BrokerSpec defines the desired state of Broker.
3838 properties :
3939 authenticationStrategy :
4040 type : string
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ rules:
1717- apiGroups :
1818 - " "
1919 resources :
20- - secrets
20+ - namespaces
2121 verbs :
2222 - get
2323 - list
2424 - watch
2525- apiGroups :
2626 - " "
2727 resources :
28- - namespaces
28+ - secrets
2929 verbs :
3030 - get
3131 - list
Original file line number Diff line number Diff line change @@ -60,10 +60,16 @@ spec:
6060 valueFrom :
6161 fieldRef :
6262 fieldPath : metadata.namespace
63+ - name : AWS_ACCOUNT_ID
64+ value : {{ .Values.aws.account_id | quote }}
6365 - name : AWS_REGION
6466 value : {{ .Values.aws.region }}
6567 - name : ACK_WATCH_NAMESPACE
6668 value : {{ .Values.watchNamespace }}
69+ - name : ACK_ENABLE_DEVELOPMENT_LOGGING
70+ value : {{ .Values.log.enable_development_logging | quote }}
71+ - name : ACK_LOG_LEVEL
72+ value : {{ .Values.log.level | quote }}
6773 - name : ACK_RESOURCE_TAGS
6874 value : {{ join "," .Values.resourceTags | quote }}
6975 terminationGracePeriodSeconds : 10
Original file line number Diff line number Diff line change 1+ {{- if .Values.metrics.service.create }}
2+ apiVersion : v1
3+ kind : Service
4+ metadata :
5+ name : {{ include "app.fullname" . }}-metrics
6+ namespace : {{ .Release.Namespace }}
7+ labels :
8+ app.kubernetes.io/name : {{ include "app.name" . }}
9+ app.kubernetes.io/instance : {{ .Release.Name }}
10+ app.kubernetes.io/managed-by : Helm
11+ app.kubernetes.io/version : {{ .Chart.AppVersion | quote }}
12+ k8s-app : {{ include "app.name" . }}
13+ helm.sh/chart : {{ include "chart.name-version" . }}
14+ control-plane : controller
15+ spec :
16+ selector :
17+ app.kubernetes.io/name : {{ include "app.name" . }}
18+ app.kubernetes.io/instance : {{ .Release.Name }}
19+ app.kubernetes.io/managed-by : Helm
20+ k8s-app : {{ include "app.name" . }}
21+ {{- range $key, $value := .Values.deployment.labels }}
22+ {{ $key }}: {{ $value | quote }}
23+ {{- end }}
24+ type : {{ .Values.metrics.service.type }}
25+ ports :
26+ - name : metricsport
27+ port : 8080
28+ targetPort : 8080
29+ protocol : TCP
30+ {{- end }}
Original file line number Diff line number Diff line change 44
55image :
66 repository : public.ecr.aws/aws-controllers-k8s/controller
7- tag : mq-v0.0.4
7+ tag : mq-v0.0.5
88 pullPolicy : IfNotPresent
99 pullSecrets : []
1010
@@ -16,6 +16,15 @@ deployment:
1616 labels : {}
1717 containerPort : 8080
1818
19+ metrics :
20+ service :
21+ # Set to true to automatically create a Kubernetes Service resource for the
22+ # Prometheus metrics server endpoint in controller
23+ create : false
24+ # Which Type to use for the Kubernetes Service?
25+ # See: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
26+ type : " ClusterIP"
27+
1928resources :
2029 requests :
2130 memory : " 64Mi"
@@ -27,6 +36,12 @@ resources:
2736aws :
2837 # If specified, use the AWS region for AWS API calls
2938 region : " "
39+ account_id : " "
40+
41+ # log level for the controller
42+ log :
43+ enable_development_logging : false
44+ level : info
3045
3146# If specified, the service controller will watch for object creation only in the provided namespace
3247watchNamespace : " "
You can’t perform that action at this time.
0 commit comments