Skip to content

Commit

Permalink
update comments + fix prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Feb 2, 2025
1 parent 98a0b8d commit b0266c5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions deployments/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ never occur.
## Usage

```shell
helm repo add tarampampam https://tarampampam.github.io/webhook-tester/helm-charts
helm repo add webhook-tester https://tarampampam.github.io/webhook-tester/helm-charts
helm repo update

helm install webhook-tester tarampampam/webhook-tester
helm install my-webhook-tester webhook-tester/webhook-tester --version <version_here>
```

Alternatively, add the following lines to your `Chart.yaml`:

```yaml
dependencies:
- name: webhook-tester
version: <version>
version: <version_here>
repository: https://tarampampam.github.io/webhook-tester/helm-charts
```
Expand Down
4 changes: 2 additions & 2 deletions deployments/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:

{{- with .securityContext }}
securityContext:
{{- tpl (toYaml .) $ | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}

{{- with $.Values.image }}
Expand Down Expand Up @@ -124,7 +124,7 @@ spec:

{{- with .resources }}
resources:
{{- tpl (toYaml .) $ | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}

{{- with .volumeMounts }}
Expand Down
22 changes: 11 additions & 11 deletions deployments/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ deployment:
# -- Additional pod annotations (e.g. for mesh injection or prometheus scraping)
# It supports templating. One can set it with values like some/name: '{{ template "some.name" . }}'
# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {}
podAnnotations: {} # supports templating
# -- Additional deployment labels (e.g. for filtering deployment by custom labels)
labels: {}
labels: {} # supports templating
# -- This is for the secretes for pulling an image from a private repository more information can be found
# here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
imagePullSecrets: [] # supports templating
# -- Security context for the pod, more information can be found here:
# https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1
securityContext:
Expand All @@ -45,22 +45,22 @@ deployment:
limits: {memory: 256Mi}
# -- Additional volumes to add to the pod, more information can be found here:
# https://kubernetes.io/docs/concepts/storage/volumes/
volumes: []
volumes: [] # supports templating
# -- Additional volumeMounts to add to the container (for instance when using fs storage driver)
volumeMounts: []
volumeMounts: [] # supports templating
# -- Node selector for pod assignment, more information can be found here:
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
nodeSelector: {}
nodeSelector: {} # supports templating
# -- Affinity for pod assignment, more information can be found here:
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
affinity: {}
affinity: {} # supports templating
# -- Tolerations for pod assignment, more information can be found here:
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations: []
tolerations: [] # supports templating
# -- The list of additional environment variables to set in the container
env: []
env: [] # supports templating
# -- The list of additional arguments to pass to the container
args: []
args: [] # supports templating

service:
# -- Enable service
Expand All @@ -81,7 +81,7 @@ ingress:
# https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class
className: null
# -- Additional ingress annotations
annotations: {}
annotations: {} # supports templating
# -- The list of hosts for the ingress
hosts: []
# -- TLS configuration for the ingress, more information can be found here:
Expand Down

0 comments on commit b0266c5

Please sign in to comment.