Skip to content

Commit

Permalink
Refactor destination header to use template (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivernadj authored Jan 15, 2025
1 parent 70baa0e commit 25f6acd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/watchtower/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Watchtower
name: watchtower
version: 1.2.0
version: 1.3.0
sources:
- https://github.com/NCCloud/watchtower
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/watchtower/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# watchtower

![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square)
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square)

Watchtower

Expand Down
14 changes: 5 additions & 9 deletions charts/watchtower/crds/cloud.spaceship.com_watchers.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.14.0
controller-gen.kubebuilder.io/version: v0.16.1
name: watchers.cloud.spaceship.com
spec:
group: cloud.spaceship.com
Expand Down Expand Up @@ -44,14 +44,10 @@ spec:
description: BodyTemplate is the template field to set what will
be sent the destination.
type: string
headers:
additionalProperties:
items:
type: string
type: array
description: Method is the HTTP headers will be used while calling
the destination endpoints.
type: object
headerTemplate:
description: HeaderTemplate is the template field to set what
will be sent the destination.
type: string
method:
description: Method is the HTTP method will be used while calling
the destination endpoints.
Expand Down

0 comments on commit 25f6acd

Please sign in to comment.