Skip to content

Commit

Permalink
update go version, controller_tools version and add file to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivang Goswami committed May 29, 2024
1 parent 904cd7e commit c063038
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 25 deletions.
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
go-version: 1.22

- name: Build
run: make build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ tags
### VisualStudioCode ###
.vscode/*
.history
.DS_Store
# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode
bin/*
testbin/*
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest

## Tool Versions
KUSTOMIZE_VERSION ?= v5.2.1
CONTROLLER_TOOLS_VERSION ?= v0.13.0
CONTROLLER_TOOLS_VERSION ?= v0.15.0

.PHONY: kustomize
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary. If wrong version is installed, it will be removed before downloading.
Expand Down
49 changes: 26 additions & 23 deletions config/crd/bases/hyperfoil.io_hyperfoils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.15.0
name: hyperfoils.hyperfoil.io
spec:
group: hyperfoil.io
Expand Down Expand Up @@ -38,14 +38,19 @@ spec:
description: Hyperfoil is the Schema for the hyperfoils API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down Expand Up @@ -114,28 +119,26 @@ spec:
type: string
type: object
secretEnvVars:
description: List of secrets in this namespace; each entry from those
secrets will be mapped as environment variable, using the key as
variable name.
description: |-
List of secrets in this namespace; each entry from those secrets will be mapped
as environment variable, using the key as variable name.
items:
type: string
type: array
serviceType:
description: Type of the service being exposed. By default this is
ClusterIP if Openshift Route resource is available (the route will
target this service). If Openshift Routes are not available (on
vanilla Kubernetes) the default is NodePort.
description: |-
Type of the service being exposed. By default this is ClusterIP if Openshift Route resource is available (the route will target this service).
If Openshift Routes are not available (on vanilla Kubernetes) the default is NodePort.
type: string
triggerUrl:
description: If this is set the controller does not start benchmark
run right away after hitting /benchmark/my-benchmark/start ; instead
it responds with status 301 and header Location set to concatenation
of this string and 'BENCHMARK=my-benchmark&RUN_ID=xxxx'. CLI interprets
that response as a request to hit CI instance on this URL, assuming
that CI will trigger a new job that will eventually call /benchmark/my-benchmark/start?runId=xxxx
with header 'x-trigger-job'. This is useful if the the CI has to
synchronize Hyperfoil to other benchmarks that don't use this controller
instance.
description: |-
If this is set the controller does not start benchmark run right away after hitting
/benchmark/my-benchmark/start ; instead it responds with status 301 and header Location
set to concatenation of this string and 'BENCHMARK=my-benchmark&RUN_ID=xxxx'.
CLI interprets that response as a request to hit CI instance on this URL, assuming that
CI will trigger a new job that will eventually call /benchmark/my-benchmark/start?runId=xxxx
with header 'x-trigger-job'. This is useful if the the CI has to synchronize Hyperfoil
to other benchmarks that don't use this controller instance.
type: string
version:
description: Tag for controller image. Defaults to version matching
Expand Down

0 comments on commit c063038

Please sign in to comment.