Skip to content

Commit

Permalink
By default disable the audit logs and prometheus (#1433)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
  • Loading branch information
shtripat committed Feb 6, 2023
1 parent 44e9d7c commit 32b79ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions helm/tenant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ tenant:
## Prometheus setup for MinIO Tenant.
prometheus:
# When set to true disables the creation of prometheus deployment
disabled: false
disabled: true
image: "" # defaults to quay.io/prometheus/prometheus:latest
env: [ ]
sidecarimage: "" # defaults to alpine
Expand All @@ -254,7 +254,7 @@ tenant:
## LogSearch API setup for MinIO Tenant.
log:
# When set to true disables the creation of logsearch api deployment
disabled: false
disabled: true
image: "" # defaults to minio/operator:v4.4.17
env: [ ]
resources: { }
Expand Down
4 changes: 2 additions & 2 deletions kubectl-minio/cmd/tenant-create.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ func newTenantCreateCmd(out io.Writer, errOut io.Writer) *cobra.Command {
f.StringVarP(&c.tenantOpts.ImagePullSecret, "image-pull-secret", "", "", "image pull secret to be used for pulling MinIO")
f.BoolVar(&c.tenantOpts.DisableAntiAffinity, "enable-host-sharing", false, "[TESTING-ONLY] disable anti-affinity to allow pods to be co-located on a single node (unsupported in production environment)")
f.StringVar(&c.tenantOpts.KmsSecret, "kes-config", "", "name of secret for KES KMS setup, refer https://github.com/minio/operator/blob/master/examples/kes-secret.yaml")
f.BoolVar(&c.tenantOpts.EnableAuditLogs, "enable-audit-logs", true, "Enable/Disable audit logs")
f.BoolVar(&c.tenantOpts.EnableAuditLogs, "enable-audit-logs", false, "Enable/Disable audit logs")
f.BoolVar(&c.tenantOpts.DisableTLS, "disable-tls", false, "Disable TLS")
f.Int32Var(&c.tenantOpts.AuditLogsDiskSpace, "audit-logs-disk-space", 5, "(Only used when enable-audit-logs is on) Disk space for audit logs")
f.StringVar(&c.tenantOpts.AuditLogsImage, "audit-logs-image", "", "(Only used when enable-audit-logs is on) The Docker image to use for audit logs")
f.StringVar(&c.tenantOpts.AuditLogsPGImage, "audit-logs-pg-image", "", "(Only used when enable-audit-logs is on) The PostgreSQL Docker image to use for audit logs")
f.StringVar(&c.tenantOpts.AuditLogsPGInitImage, "audit-logs-pg-init-image", "", "(Only used when enable-audit-logs is on) Defines the Docker image to use as the init container for running the postgres server in audit logs")
f.StringVar(&c.tenantOpts.AuditLogsStorageClass, "audit-logs-storage-class", "", "(Only used when enable-audit-logs is on) Storage class for audit logs")
f.BoolVar(&c.tenantOpts.EnablePrometheus, "enable-prometheus", true, "Enable/Disable prometheus")
f.BoolVar(&c.tenantOpts.EnablePrometheus, "enable-prometheus", false, "Enable/Disable prometheus")
f.IntVar(&c.tenantOpts.PrometheusDiskSpace, "prometheus-disk-space", 5, "(Only used when enable-prometheus is on) Disk space for prometheus")
f.StringVar(&c.tenantOpts.PrometheusImage, "prometheus-image", "", "(Only used when enable-prometheus is on) The Docker image to use for prometheus")
f.StringVar(&c.tenantOpts.PrometheusSidecarImage, "prometheus-sidecar-image", "", "(Only used when enable-prometheus is on) The Docker image to use for prometheus sidecar")
Expand Down

0 comments on commit 32b79ec

Please sign in to comment.