Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] Update dependencies and improve docs #21

Merged
merged 19 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 64 additions & 71 deletions config/crd/bases/perses.dev_perses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,6 @@ spec:
disable_custom:
type: boolean
options:
items:
format: duration
type: string
type: array
required:
- disable_custom
Expand All @@ -320,74 +317,6 @@ spec:
The target must reply with an HTTP 200 response.
The HTTP header Content-Type must be application/json, and the body must be valid array of JSON.
properties:
auth:
properties:
basic_auth:
properties:
password:
type: string
passwordFile:
description: PasswordFile is a path to a file
that contains a password
type: string
username:
type: string
required:
- username
type: object
native_auth:
properties:
login:
type: string
password:
type: string
required:
- login
- password
type: object
oauth:
properties:
auth_style:
description: |-
AuthStyle optionally specifies how the endpoint wants the
client ID & client secret sent. The zero value means to
auto-detect.
type: integer
client_id:
description: ClientID is the application's ID.
type: string
client_secret:
description: ClientSecret is the application's
secret.
type: string
endpoint_params:
additionalProperties:
items:
type: string
type: array
description: EndpointParams specifies additional
parameters for requests to the token endpoint.
type: object
scopes:
description: Scope specifies optional requested
permissions.
items:
type: string
type: array
token_url:
description: |-
TokenURL is the resource server's token endpoint
URL. This is a constant specific to each server.
type: string
required:
- auth_style
- client_id
- client_secret
- endpoint_params
- scopes
- token_url
type: object
type: object
authorization:
description: The HTTP authorization credentials for
the targets.
Expand All @@ -399,10 +328,74 @@ spec:
type:
type: string
type: object
basic_auth:
properties:
password:
type: string
passwordFile:
description: PasswordFile is a path to a file that
contains a password
type: string
username:
type: string
required:
- username
type: object
headers:
additionalProperties:
type: string
type: object
native_auth:
properties:
login:
type: string
password:
type: string
required:
- login
- password
type: object
oauth:
properties:
auth_style:
description: |-
AuthStyle optionally specifies how the endpoint wants the
client ID & client secret sent. The zero value means to
auto-detect.
type: integer
client_id:
description: ClientID is the application's ID.
type: string
client_secret:
description: ClientSecret is the application's secret.
type: string
endpoint_params:
additionalProperties:
items:
type: string
type: array
description: EndpointParams specifies additional
parameters for requests to the token endpoint.
type: object
scopes:
description: Scope specifies optional requested
permissions.
items:
type: string
type: array
token_url:
description: |-
TokenURL is the resource server's token endpoint
URL. This is a constant specific to each server.
type: string
required:
- auth_style
- client_id
- client_secret
- endpoint_params
- scopes
- token_url
type: object
tls_config:
description: TLSConfig to use to connect to the targets.
properties:
Expand Down
26 changes: 13 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ require (
github.com/barkimedes/go-deepcopy v0.0.0-20220514131651-17c30cfc62df
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/perses/perses v0.48.0
github.com/perses/perses v0.49.1-0.20241125160011-3d34cf1b8849
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.31.1
k8s.io/apimachinery v0.31.1
k8s.io/client-go v0.31.1
k8s.io/api v0.31.3
k8s.io/apimachinery v0.31.3
k8s.io/client-go v0.31.3
sigs.k8s.io/controller-runtime v0.19.0
)

Expand All @@ -24,7 +24,7 @@ require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-jose/go-jose/v4 v4.0.4 // indirect
github.com/go-logr/logr v1.4.2 // indirect
Expand Down Expand Up @@ -62,24 +62,24 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.60.0 // indirect
github.com/prometheus/common v0.60.1 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/zitadel/oidc/v3 v3.30.1 // indirect
github.com/zitadel/oidc/v3 v3.33.1 // indirect
github.com/zitadel/schema v1.3.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/crypto v0.29.0 // indirect
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/oauth2 v0.24.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/term v0.26.0 // indirect
golang.org/x/text v0.20.0 // indirect
golang.org/x/time v0.7.0 // indirect
golang.org/x/tools v0.26.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
Expand Down
Loading
Loading