Skip to content

Commit

Permalink
Update charts/perses/Chart.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Augustin Husson <[email protected]>
Signed-off-by: Nicolas Takashi <[email protected]>
  • Loading branch information
nicolastakashi and Nexucis committed Aug 28, 2023
1 parent 894d926 commit c64f2d1
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 24 deletions.
11 changes: 2 additions & 9 deletions .github/actions/setup_environment/action.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
name: "Setup environment"
description: "Setup GO or NPM environment"
inputs:
enable_go:
description: Whether to enable go specific features, such as caching.
default: "false"
enable_npm:
description: Whether to enable npm specific features, such as caching.
default: "false"
runs:
using: composite
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x
- uses: actions/cache@v3.0.8
go-version: 1.21.x
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down
8 changes: 3 additions & 5 deletions .github/actions/setup_helmlint/action.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
name: Setup
description: sets up helm lint and testing environment
inputs:
create-kind-cluster: # id of input
create-kind-cluster:
description: "Whether or not to create a kind cluster during setup"
required: true
default: "false"
runs:
using: "composite"
steps:
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.9.0
uses: azure/setup-helm@v3

- uses: actions/setup-python@v4
with:
Expand All @@ -24,4 +22,4 @@ runs:
uses: helm/[email protected]
if: ${{ inputs.create-kind-cluster == 'true' }}
with:
node_image: kindest/node:v1.24.12
node_image: kindest/node:v1.28.0
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ fmt-docs:
@echo ">> format markdown document"
$(MDOX) fmt --soft-wraps -l $$(find . -name '*.md' -print) --links.validate.config-file=./.mdox.validate.yaml

.PHONY: update-go-deps
update-go-deps:
@echo ">> updating Go dependencies"
@for m in $$($(GO) list -mod=readonly -m -f '{{ if and (not .Indirect) (not .Main)}}{{.Path}}{{end}}' all); do \
$(GO) get -d $$m; \
done


.PHONY: update-helm-readme
update-helm-readme:
@docker run --rm --volume "$$(pwd)/charts/perses:/helm-docs" -u $$(id -u) jnorwood/helm-docs:latest
Expand Down
2 changes: 1 addition & 1 deletion charts/perses/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Perses helm chart
icon: https://avatars.githubusercontent.com/u/77209215?s=200&v=4
type: application
version: 0.1.0
appVersion: "0.37.2"
appVersion: "0.39.0"
sources:
- https://github.com/perses/perses
annotations:
Expand Down
102 changes: 101 additions & 1 deletion charts/perses/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,107 @@
]
},
"sql": {
"type": "object"
"type": "object",
"additionalProperties": false,
"properties": {
"rejectReadOnly": {
"type": "boolean"
},
"parseTime": {
"type": "boolean"
},
"multiStatements": {
"type": "boolean"
},
"interpolateParams": {
"type": "boolean"
},
"columnsWithAlias": {
"type": "boolean"
},
"clientFoundRows": {
"type": "boolean"
},
"checkConnLiveness": {
"type": "boolean"
},
"allowOldPasswords": {
"type": "boolean"
},
"allowNativePasswords": {
"type": "boolean"
},
"allowFallbackToPlaintext": {
"type": "boolean"
},
"allowCleartextPasswords": {
"type": "boolean"
},
"allowAllFiles": {
"type": "boolean"
},
"writeTimeout": {
"type": "string"
},
"readTimeout": {
"type": "string"
},
"serverPubKey": {
"type": "string"
},
"maxAllowedPacket": {
"type": "integer"
},
"loc": {
"type": "string"
},
"collation": {
"type": "string"
},
"dbName": {
"type": "string"
},
"addr": {
"type": "string"
},
"net": {
"type": "string"
},
"passwordFile": {
"type": "string"
},
"user": {
"type": "string"
},
"tlsConfig": {
"properties": {
"ca": {
"type": "string"
},
"cert": {
"type": "string"
},
"key": {
"type": "string"
},
"caFile": {
"type": "string"
},
"certFile": {
"type": "string"
},
"keyFile": {
"type": "string"
},
"serverName": {
"type": "string"
},
"insecureSkipVerify": {
"type": "boolean"
}
}
}
}
}
},
"required": [
Expand Down

0 comments on commit c64f2d1

Please sign in to comment.