Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 0 additions & 12 deletions .pre-commit-config.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions builder.dockerfile

This file was deleted.

29 changes: 10 additions & 19 deletions deploy/charts/venafi-kubernetes-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# venafi-kubernetes-agent

The Venafi Kubernetes Agent connects your Kubernetes or Openshift cluster to the Venafi Control Plane.

![Version: 0.1.49](https://img.shields.io/badge/Version-0.1.49-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.1.49](https://img.shields.io/badge/AppVersion-v0.1.49-informational?style=flat-square)

The Venafi Kubernetes Agent connects your Kubernetes or OpenShift cluster to the Venafi Control Plane.
You will require a Venafi Control Plane account to connect your cluster.
If you do not have one, you can sign up for a free trial now at:
Expand Down Expand Up @@ -444,6 +440,16 @@ Control Plane.
> ```

Enable or disable the PodDisruptionBudget resource, which helps prevent downtime during voluntary disruptions such as during a Node upgrade.
#### **podDisruptionBudget.minAvailable** ~ `number`

Configure the minimum available pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).
Cannot be used if `maxUnavailable` is set.

#### **podDisruptionBudget.maxUnavailable** ~ `number`

Configure the maximum unavailable pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).
Cannot be used if `minAvailable` is set.

### CRDs


Expand All @@ -469,20 +475,5 @@ This option makes it so that the "helm.sh/resource-policy": keep annotation is a
> ```

When set to false, the rendered output does not contain the. VenafiConnection CRDs and RBAC. This is useful for when the. Venafi Connection resources are already installed separately.
#### **podDisruptionBudget.enabled** ~ `bool`
> Default value:
> ```yaml
> false
> ```
#### **podDisruptionBudget.minAvailable** ~ `number`
> Default value:
> ```yaml
> 1
> ```
#### **podDisruptionBudget.maxUnavailable** ~ `number`
> Default value:
> ```yaml
> 1
> ```

<!-- /AUTO-GENERATED -->
18 changes: 0 additions & 18 deletions deploy/charts/venafi-kubernetes-agent/README.md.gotmpl

This file was deleted.

5 changes: 3 additions & 2 deletions deploy/charts/venafi-kubernetes-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,14 +477,15 @@
},
"helm-values.podDisruptionBudget.enabled": {
"default": false,
"description": "Enable or disable the PodDisruptionBudget resource, which helps prevent downtime during voluntary disruptions such as during a Node upgrade.",
"type": "boolean"
},
"helm-values.podDisruptionBudget.maxUnavailable": {
"default": 1,
"description": "Configure the maximum unavailable pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).\nCannot be used if `minAvailable` is set.",
"type": "number"
},
"helm-values.podDisruptionBudget.minAvailable": {
"default": 1,
"description": "Configure the minimum available pods for disruptions. Can either be set to an integer (e.g. 1) or a percentage value (e.g. 25%).\nCannot be used if `maxUnavailable` is set.",
"type": "number"
},
"helm-values.podSecurityContext": {
Expand Down
7 changes: 2 additions & 5 deletions deploy/charts/venafi-kubernetes-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,13 @@ podDisruptionBudget:
# Configure the minimum available pods for disruptions. Can either be set to
# an integer (e.g. 1) or a percentage value (e.g. 25%).
# Cannot be used if `maxUnavailable` is set.
# +docs:property
# minAvailable: 1

# Configure the maximum unavailable pods for disruptions. Can either be set to
# an integer (e.g. 1) or a percentage value (e.g. 25%).
# Cannot be used if `minAvailable` is set.
# +docs:property
# maxUnavailable: 1

# +docs:section=CRDs
Expand All @@ -284,8 +286,3 @@ crds:
# VenafiConnection CRDs and RBAC. This is useful for when the
# Venafi Connection resources are already installed separately.
include: false

podDisruptionBudget:
enabled: false
minAvailable: 1
maxUnavailable: 1
Comment on lines -288 to -291

@maelvls maelvls Oct 1, 2024

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, not sure why I added this...

Ahh, I know: that's because I didn't notice that maxUnavailable: 1 etc existed above. I should have just added +docs:property so that helm-tool detects these three fields.

20 changes: 0 additions & 20 deletions make/util/checkhash.sh

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to remove that. Thanks for cleaning this up!

This file was deleted.

8 changes: 0 additions & 8 deletions make/util/hash.sh

This file was deleted.