Skip to content

Commit

Permalink
use perses v0.44
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbernalp committed Mar 26, 2024
1 parent 468f8d6 commit bb92da1
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 54 deletions.
108 changes: 95 additions & 13 deletions config/crd/bases/perses.dev_perses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,15 @@ spec:
- write_timeout
type: object
type: object
deactivate_front:
description: When it is true, Perses won't serve the frontend
anymore.
type: boolean
ephemeral_dashboards_cleanup_interval:
description: EphemeralDashboardsCleanupInterval is the interval
at which the ephemeral dashboards are cleaned up
format: int64
type: integer
important_dashboards:
description: ImportantDashboards contains important dashboard
selectors
Expand All @@ -220,6 +229,8 @@ spec:
on the home page
type: string
provisioning:
description: Provisioning contains the provisioning config that
can be used if you want to provide default resources.
properties:
folders:
items:
Expand Down Expand Up @@ -279,6 +290,25 @@ spec:
properties:
auth_url:
type: object
client_credentials:
properties:
client_id:
description: Hidden special type for storing
secrets.
type: string
client_secret:
description: Hidden special type for storing
secrets.
type: string
scopes:
items:
type: string
type: array
required:
- client_id
- client_secret
- scopes
type: object
client_id:
description: Hidden special type for storing
secrets.
Expand All @@ -289,6 +319,27 @@ spec:
type: string
custom_login_property:
type: string
device_auth_url:
type: object
device_code:
properties:
client_id:
description: Hidden special type for storing
secrets.
type: string
client_secret:
description: Hidden special type for storing
secrets.
type: string
scopes:
items:
type: string
type: array
required:
- client_id
- client_secret
- scopes
type: object
disable_pkce:
type: boolean
name:
Expand All @@ -309,11 +360,9 @@ spec:
- auth_url
- client_id
- client_secret
- custom_login_property
- device_auth_url
- disable_pkce
- name
- redirect_uri
- scopes
- slug_id
- token_url
- user_infos_url
Expand All @@ -322,6 +371,25 @@ spec:
oidc:
items:
properties:
client_credentials:
properties:
client_id:
description: Hidden special type for storing
secrets.
type: string
client_secret:
description: Hidden special type for storing
secrets.
type: string
scopes:
items:
type: string
type: array
required:
- client_id
- client_secret
- scopes
type: object
client_id:
description: Hidden special type for storing
secrets.
Expand All @@ -330,6 +398,25 @@ spec:
description: Hidden special type for storing
secrets.
type: string
device_code:
properties:
client_id:
description: Hidden special type for storing
secrets.
type: string
client_secret:
description: Hidden special type for storing
secrets.
type: string
scopes:
items:
type: string
type: array
required:
- client_id
- client_secret
- scopes
type: object
disable_pkce:
type: boolean
discovery_url:
Expand All @@ -354,13 +441,9 @@ spec:
- client_id
- client_secret
- disable_pkce
- discovery_url
- issuer
- name
- redirect_uri
- scopes
- slug_id
- url_params
type: object
type: array
required:
Expand Down Expand Up @@ -420,12 +503,9 @@ spec:
description: EncryptionKey is the secret key used to encrypt
and decrypt sensitive data stored in the database such as
the password of the basic auth for a datasource. Note that
if it is not provided, it will use a default value. When
Perses is used in a multi instance mode, you should provide
the key. Otherwise, each instance will have a different
key and therefore won't be able to decrypt what the other
is encrypting. Also note the key must be at least 32 bytes
long.
if it is not provided, it will use a default value. On a
production instance, you should set this key. Also note
the key must be at least 32 bytes long.
type: string
encryption_key_file:
description: EncryptionKeyFile is the path to file containing
Expand All @@ -439,6 +519,8 @@ spec:
- enable_auth
- readonly
type: object
required:
- deactivate_front
type: object
containerPort:
format: int32
Expand Down
31 changes: 18 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ require (
github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.10
github.com/perses/perses v0.43.1-0.20240219142255-6799f0a7cffc
github.com/perses/perses v0.44.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.28.3
k8s.io/apimachinery v0.28.3
Expand All @@ -23,6 +23,7 @@ require (
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.3 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/zapr v1.2.4 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
Expand All @@ -33,7 +34,7 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/uuid v1.6.0 // indirect
Expand All @@ -44,31 +45,35 @@ require (
github.com/mailru/easyjson v0.7.7 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/muhlemmer/gu v0.3.1 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
github.com/nexucis/lamenv v0.5.2 // indirect
github.com/perses/common v0.22.0 // indirect
github.com/perses/common v0.23.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.18.0 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.46.0 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.50.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/zitadel/oidc/v3 v3.18.0 // indirect
github.com/zitadel/schema v1.3.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.25.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/oauth2 v0.18.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.16.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/protobuf v1.32.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.28.3 // indirect
Expand Down
Loading

0 comments on commit bb92da1

Please sign in to comment.