Skip to content

Commit

Permalink
Merge pull request #248 from vshn/feature/minio_metrics
Browse files Browse the repository at this point in the history
Add RBAC rules for minio metrics
  • Loading branch information
TheBigLee authored Oct 20, 2023
2 parents 48cd66b + b59f987 commit b2f88cc
Show file tree
Hide file tree
Showing 24 changed files with 29 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ sloth-output/
/component/compiled

/package/.cache
/packages/compiled
/package/dependencies
/package/helmcharts
/package/manifests
Expand All @@ -32,4 +33,8 @@ sloth-output/
/package/crds
/package/compiled

/compiled
/dependencies
/vendor

# Additional entries
2 changes: 1 addition & 1 deletion component/class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ parameters:
appcat:
registry: ghcr.io
repository: vshn/appcat
tag: v4.34.0
tag: v4.36.0
apiserver:
registry: ghcr.io
repository: vshn/appcat-apiserver
Expand Down
2 changes: 1 addition & 1 deletion component/component/provider.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ local controllerConfigRef(config) =
},
{
apiGroups: [ 'monitoring.coreos.com' ],
resources: [ 'prometheusrules', 'podmonitors', 'alertmanagerconfigs' ],
resources: [ 'prometheusrules', 'podmonitors', 'alertmanagerconfigs', 'servicemonitors' ],
verbs: [ 'get', 'list', 'watch', 'update', 'patch', 'create', 'delete' ],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ rules:
- prometheusrules
- podmonitors
- alertmanagerconfigs
- servicemonitors
verbs:
- get
- list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
env:
- name: PLANS_NAMESPACE
value: syn-appcat
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNREDIS
value: "false"
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ rules:
- prometheusrules
- podmonitors
- alertmanagerconfigs
- servicemonitors
verbs:
- get
- list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ rules:
- prometheusrules
- podmonitors
- alertmanagerconfigs
- servicemonitors
verbs:
- get
- list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
data:
controlNamespace: syn-appcat-control
defaultPlan: standard-1
imageTag: v4.34.0
imageTag: v4.36.0
maintenanceSA: helm-based-service-maintenance
minioChartRepository: https://charts.min.io
minioChartVersion: 5.0.13
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
env:
- name: PLANS_NAMESPACE
value: syn-appcat
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
envFrom:
- secretRef:
name: appcat-sla-reports-creds
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
name: sla-reporter
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNREDIS
value: "false"
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ rules:
- prometheusrules
- podmonitors
- alertmanagerconfigs
- servicemonitors
verbs:
- get
- list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
value: "false"
- name: APPCAT_SLI_VSHNREDIS
value: "false"
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ rules:
- prometheusrules
- podmonitors
- alertmanagerconfigs
- servicemonitors
verbs:
- get
- list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
data:
controlNamespace: syn-appcat-control
defaultPlan: standard-1
imageTag: v4.34.0
imageTag: v4.36.0
maintenanceSA: helm-based-service-maintenance
minioChartRepository: https://charts.min.io
minioChartVersion: 5.0.13
Expand All @@ -41,7 +41,7 @@ spec:
image: minio
imagePullPolicy: IfNotPresent
runner:
endpoint: unix-abstract:crossplane/fn/default.sock
endpoint: 172.18.0.1:9547
timeout: 20s
name: minio-func
type: Container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
externalDatabaseConnectionsEnabled: 'true'
imageTag: v4.34.0
imageTag: v4.36.0
quotasEnabled: 'false'
sgNamespace: stackgres
sideCars: '{"clusterController": {"limits": {"cpu": "32m", "memory": "2Gi"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
emailAlertingSmtpHost: smtp.eu.mailgun.org:465
emailAlertingSmtpUsername: myuser@example.com
externalDatabaseConnectionsEnabled: 'true'
imageTag: v4.34.0
imageTag: v4.36.0
quotasEnabled: 'false'
sgNamespace: stackgres
sideCars: '{"clusterController": {"limits": {"cpu": "32m", "memory": "2Gi"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
data:
bucketRegion: lpg
controlNamespace: syn-appcat-control
imageTag: v4.34.0
imageTag: v4.36.0
maintenanceSA: helm-based-service-maintenance
quotasEnabled: 'false'
restoreSA: redisrestoreserviceaccount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
env:
- name: PLANS_NAMESPACE
value: syn-appcat
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
envFrom:
- secretRef:
name: appcat-sla-reports-creds
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
name: sla-reporter
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
value: "true"
- name: APPCAT_SLI_VSHNREDIS
value: "true"
image: ghcr.io/vshn/appcat:v4.34.0
image: ghcr.io/vshn/appcat:v4.36.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion component/tests/vshn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ parameters:
note: "Will be scheduled on APPUiO Cloud plus nodes"
minio:
enabled: true
# grpcEndpoint: host.docker.internal:9547
grpcEndpoint: 172.18.0.1:9547

generic:
objectstorage:
Expand Down
2 changes: 1 addition & 1 deletion package/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:
image:
registry: ghcr.io
repository: vshn/appcat
tag: v4.35.0
tag: v4.36.0
components:
appcat:
url: https://github.com/vshn/component-appcat.git
Expand Down

0 comments on commit b2f88cc

Please sign in to comment.