Skip to content

Commit

Permalink
add/enable missing apps to sync with vintage (#636)
Browse files Browse the repository at this point in the history
* add/enable missing apps to sync with vintage
  • Loading branch information
Berk Dehrioglu authored Jun 10, 2024
1 parent 4d2597c commit c4b7c64
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add `irsa-servicemonitors` and `aws-ebs-csi-driver-servicemonitors` apps.

### Changed

- Set `prometheus-blackbox-exporter` and `k8s-audit-metrics` as enabled.

## [0.77.0] - 2024-06-07

### Added
Expand Down
6 changes: 3 additions & 3 deletions helm/cluster-aws/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: cluster
repository: https://giantswarm.github.io/cluster-catalog
version: 0.29.0
version: 0.30.1
- name: cluster-shared
repository: https://giantswarm.github.io/cluster-catalog
version: 0.7.1
digest: sha256:121c9594b0c076cd5a1a0a9ab06a33980d519614e6fb32005406e21bebebe968
generated: "2024-05-31T09:36:25.099668049Z"
digest: sha256:3f8917e5d334ab5e1453a3b097d8c1223b5d4f9eca2f92e5e69f0c5acbef52c2
generated: "2024-06-07T12:41:39.329381+03:00"
2 changes: 1 addition & 1 deletion helm/cluster-aws/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ restrictions:
- capa
dependencies:
- name: cluster
version: "0.29.0"
version: "0.30.1"
repository: https://giantswarm.github.io/cluster-catalog
- name: cluster-shared
version: "0.7.1"
Expand Down
30 changes: 29 additions & 1 deletion helm/cluster-aws/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "resource.default.name" . }}-aws-ebs-csi-driver-servicemonitors-user-values
namespace: {{ .Release.Namespace }}
labels:
{{- include "labels.common" . | nindent 4 }}
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: {{ include "resource.default.name" . }}-aws-ebs-csi-driver-smons
namespace: {{ .Release.Namespace }}
labels:
{{- include "labels.common" . | nindent 4 }}
giantswarm.io/managed-by: {{ .Chart.Name }}
annotations:
app-operator.giantswarm.io/depends-on: {{ include "resource.default.name" . }}-cert-manager
spec:
catalog: default
name: aws-ebs-csi-driver-servicemonitors
# repo: giantswarm/aws-ebs-csi-driver-servicemonitors
version: 0.1.0
namespace: kube-system
config:
configMap:
name: {{ include "resource.default.name" . }}-cluster-values
namespace: {{ .Release.Namespace }}
{{- if .Values.global.apps.irsaServiceMonitors.values }}
userConfig:
configMap:
name: {{ include "resource.default.name" . }}-aws-ebs-csi-driver-servicemonitors-user-values
namespace: {{ .Release.Namespace }}
{{- end }}
{{- if .Values.global.apps.awsEbsCsiDriverServiceMonitors.extraConfigs }}
extraConfigs:
{{- range .Values.global.apps.awsEbsCsiDriverServiceMonitors.extraConfigs }}
- kind: {{ .kind }}
name: {{ .name }}
namespace: {{ .namespace | default $.Release.Namespace }}
priority: {{ .priority }}
{{- end }}
{{- end }}
kubeConfig:
inCluster: false
secret:
name: {{ include "resource.default.name" . }}-kubeconfig
namespace: {{ .Release.Namespace }}
context:
name: {{ include "resource.default.name" . }}-admin@{{ include "resource.default.name" . }}
50 changes: 50 additions & 0 deletions helm/cluster-aws/templates/irsa-servicemonitors-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "resource.default.name" . }}-irsa-servicemonitors-user-values
namespace: {{ .Release.Namespace }}
labels:
{{- include "labels.common" . | nindent 4 }}
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
name: {{ include "resource.default.name" . }}-irsa-servicemonitors
namespace: {{ .Release.Namespace }}
labels:
{{- include "labels.common" . | nindent 4 }}
giantswarm.io/managed-by: {{ .Chart.Name }}
annotations:
app-operator.giantswarm.io/depends-on: {{ include "resource.default.name" . }}-cert-manager
spec:
catalog: default
name: irsa-servicemonitors
# repo: giantswarm/irsa-servicemonitors
version: 0.0.1
namespace: kube-system
config:
configMap:
name: {{ include "resource.default.name" . }}-cluster-values
namespace: {{ .Release.Namespace }}
{{- if .Values.global.apps.irsaServiceMonitors.values }}
userConfig:
configMap:
name: {{ include "resource.default.name" . }}-irsa-servicemonitors-user-values
namespace: {{ .Release.Namespace }}
{{- end }}
{{- if .Values.global.apps.irsaServiceMonitors.extraConfigs }}
extraConfigs:
{{- range .Values.global.apps.irsaServiceMonitors.extraConfigs }}
- kind: {{ .kind }}
name: {{ .name }}
namespace: {{ .namespace | default $.Release.Namespace }}
priority: {{ .priority }}
{{- end }}
{{- end }}
kubeConfig:
inCluster: false
secret:
name: {{ include "resource.default.name" . }}-kubeconfig
namespace: {{ .Release.Namespace }}
context:
name: {{ include "resource.default.name" . }}-admin@{{ include "resource.default.name" . }}
30 changes: 30 additions & 0 deletions helm/cluster-aws/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@
"configTemplateName": "awsExternalDnsHelmValues",
"enable": true
},
"k8sAuditMetrics": {
"enable": true
},
"k8sDnsNodeCache": {
"enable": true
},
Expand All @@ -311,6 +314,9 @@
"observabilityBundle": {
"enable": true
},
"prometheusBlackboxExporter": {
"enable": true
},
"securityBundle": {
"configTemplateName": "awsSecurityBundleHelmValues",
"enable": true
Expand Down Expand Up @@ -654,6 +660,12 @@
"title": "AWS EBS CSI driver",
"description": "Configuration of aws-ebs-csi-driver-app. For all available values see https://github.com/giantswarm/aws-ebs-csi-driver-app."
},
"awsEbsCsiDriverServiceMonitors": {
"$ref": "#/$defs/app",
"type": "object",
"title": "AWS EBS CSI driver service monitors",
"description": "Configuration of aws-ebs-csi-driver-servicemonitors. For all available values see https://github.com/giantswarm/aws-ebs-csi-driver-servicemonitors-app."
},
"awsPodIdentityWebhook": {
"$ref": "#/$defs/app",
"type": "object",
Expand Down Expand Up @@ -720,6 +732,18 @@
"title": "external-dns",
"description": "Configuration of external-dns. For all available values see https://github.com/giantswarm/external-dns-app."
},
"irsaServiceMonitors": {
"$ref": "#/$defs/app",
"type": "object",
"title": "irsa-servicemonitors",
"description": "Configuration of irsa-service-monitor. For all available values see https://github.com/giantswarm/irsa-servicemonitors-app."
},
"k8sAuditMetrics": {
"$ref": "#/$defs/app",
"type": "object",
"title": "k8s-audit-metrics",
"description": "Configuration of k8s-audit-metrics. For all available values see https://github.com/giantswarm/k8s-audit-metrics."
},
"k8sDnsNodeCache": {
"$ref": "#/$defs/app",
"type": "object",
Expand Down Expand Up @@ -756,6 +780,12 @@
"title": "observability-bundle",
"description": "Configuration of observability-bundle. For all available values see https://github.com/giantswarm/observability-bundle."
},
"prometheusBlackboxExporter": {
"$ref": "#/$defs/app",
"type": "object",
"title": "prometheus-blackbox-exporter",
"description": "Configuration of prometheus-blackbox-exporter. For all available values see https://github.com/giantswarm/prometheus-blackbox-exporter-app."
},
"securityBundle": {
"$ref": "#/$defs/app",
"type": "object",
Expand Down
8 changes: 8 additions & 0 deletions helm/cluster-aws/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ cluster:
externalDns:
configTemplateName: awsExternalDnsHelmValues
enable: true
k8sAuditMetrics:
enable: true
k8sDnsNodeCache:
enable: true
metricsServer:
Expand All @@ -40,6 +42,8 @@ cluster:
enable: true
observabilityBundle:
enable: true
prometheusBlackboxExporter:
enable: true
securityBundle:
configTemplateName: awsSecurityBundleHelmValues
enable: true
Expand Down Expand Up @@ -244,6 +248,7 @@ global:
apps:
awsCloudControllerManager: {}
awsEbsCsiDriver: {}
awsEbsCsiDriverServiceMonitors: {}
awsPodIdentityWebhook: {}
capiNodeLabeler: {}
certExporter: {}
Expand All @@ -255,12 +260,15 @@ global:
coreDns: {}
etcdKubernetesResourcesCountExporter: {}
externalDns: {}
irsaServiceMonitors: {}
k8sAuditMetrics: {}
k8sDnsNodeCache: {}
metricsServer: {}
netExporter: {}
networkPolicies: {}
nodeExporter: {}
observabilityBundle: {}
prometheusBlackboxExporter: {}
securityBundle: {}
teleportKubeAgent: {}
verticalPodAutoscaler: {}
Expand Down

0 comments on commit c4b7c64

Please sign in to comment.