diff --git a/.changeset/seven-bats-explain.md b/.changeset/seven-bats-explain.md new file mode 100644 index 00000000..6ee4d987 --- /dev/null +++ b/.changeset/seven-bats-explain.md @@ -0,0 +1,5 @@ +--- +"kubernetes-agent": patch +--- + +Updated Tentacle to version 8.2.2585, which increases the maximum buffer size for the output scanner in the bootstrap runner. This fix addresses an issue where output lines longer than the previous buffer limit would fail to be written. diff --git a/charts/kubernetes-agent/Chart.yaml b/charts/kubernetes-agent/Chart.yaml index 440ebe42..36faf6a4 100644 --- a/charts/kubernetes-agent/Chart.yaml +++ b/charts/kubernetes-agent/Chart.yaml @@ -11,4 +11,4 @@ maintainers: type: application version: "1.20.0" # This version number should be the same as the agent.image.tag value as this is the primary application version -appVersion: "8.2.2540" +appVersion: "8.2.2585" diff --git a/charts/kubernetes-agent/README.md b/charts/kubernetes-agent/README.md index 71fe09b8..988189c5 100644 --- a/charts/kubernetes-agent/README.md +++ b/charts/kubernetes-agent/README.md @@ -1,6 +1,6 @@ # kubernetes-agent -![Version: 1.20.0](https://img.shields.io/badge/Version-1.20.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.2.2540](https://img.shields.io/badge/AppVersion-8.2.2540-informational?style=flat-square) ![Octopus Deploy Version: 2024.2.6580+](https://img.shields.io/badge/Octopus_Deploy-2024.2.6580%2B-2F93E0?style=flat-square&logo=octopusdeploy&logoColor=%232F93E0&logoSize=auto) +![Version: 1.20.0](https://img.shields.io/badge/Version-1.20.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.2.2585](https://img.shields.io/badge/AppVersion-8.2.2585-informational?style=flat-square) ![Octopus Deploy Version: 2024.2.6580+](https://img.shields.io/badge/Octopus_Deploy-2024.2.6580%2B-2F93E0?style=flat-square&logo=octopusdeploy&logoColor=%232F93E0&logoSize=auto) A Helm chart for the Octopus Kubernetes Agent @@ -31,7 +31,7 @@ A Helm chart for the Octopus Kubernetes Agent | agent.debug.disableAutoPodCleanup | bool | `false` | Disables automatic pod cleanup | | agent.defaultNamespace | string | `""` | The default Kubernetes namespace for deployments | | agent.enableMetricsCapture | bool | `true` | True if events should be scraped and added to the metrics config map | -| agent.image | object | `{"pullPolicy":"IfNotPresent","repository":"octopusdeploy/kubernetes-agent-tentacle","tag":"8.2.2540","tagSuffix":""}` | The repository, pullPolicy, tag & tagSuffix to use for the agent image | +| agent.image | object | `{"pullPolicy":"IfNotPresent","repository":"octopusdeploy/kubernetes-agent-tentacle","tag":"8.2.2585","tagSuffix":""}` | The repository, pullPolicy, tag & tagSuffix to use for the agent image | | agent.logLevel | string | `"Info"` | The log level of the agent. Logs are written to the pod logs as well as to file | | agent.machinePolicyName | string | `""` | The machine policy to register the agent with | | agent.metadata | object | `{"annotations":{},"labels":{}}` | Additional metadata to add to the agent pod & container | diff --git a/charts/kubernetes-agent/tests/__snapshot__/auto-upgrader-serviceaccount_test.yaml.snap b/charts/kubernetes-agent/tests/__snapshot__/auto-upgrader-serviceaccount_test.yaml.snap index 504e9d28..31210f27 100644 --- a/charts/kubernetes-agent/tests/__snapshot__/auto-upgrader-serviceaccount_test.yaml.snap +++ b/charts/kubernetes-agent/tests/__snapshot__/auto-upgrader-serviceaccount_test.yaml.snap @@ -8,7 +8,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: octopus-agent - app.kubernetes.io/version: 8.2.2540 + app.kubernetes.io/version: 8.2.2585 helm.sh/chart: kubernetes-agent-1.20.0 name: octopus-agent-auto-upgrader namespace: NAMESPACE diff --git a/charts/kubernetes-agent/tests/__snapshot__/pod-serviceaccount_test.yaml.snap b/charts/kubernetes-agent/tests/__snapshot__/pod-serviceaccount_test.yaml.snap index 7a0b5c96..a3c4504d 100644 --- a/charts/kubernetes-agent/tests/__snapshot__/pod-serviceaccount_test.yaml.snap +++ b/charts/kubernetes-agent/tests/__snapshot__/pod-serviceaccount_test.yaml.snap @@ -8,7 +8,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: octopus-agent - app.kubernetes.io/version: 8.2.2540 + app.kubernetes.io/version: 8.2.2585 helm.sh/chart: kubernetes-agent-1.20.0 name: octopus-agent-scripts namespace: NAMESPACE diff --git a/charts/kubernetes-agent/tests/__snapshot__/tentacle-deployment_test.yaml.snap b/charts/kubernetes-agent/tests/__snapshot__/tentacle-deployment_test.yaml.snap index 1f0604f1..466c5c9f 100644 --- a/charts/kubernetes-agent/tests/__snapshot__/tentacle-deployment_test.yaml.snap +++ b/charts/kubernetes-agent/tests/__snapshot__/tentacle-deployment_test.yaml.snap @@ -7,7 +7,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: octopus-agent - app.kubernetes.io/version: 8.2.2540 + app.kubernetes.io/version: 8.2.2585 helm.sh/chart: kubernetes-agent-1.20.0 name: octopus-agent-tentacle namespace: NAMESPACE @@ -23,7 +23,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: octopus-agent - app.kubernetes.io/version: 8.2.2540 + app.kubernetes.io/version: 8.2.2585 helm.sh/chart: kubernetes-agent-1.20.0 spec: affinity: @@ -100,7 +100,7 @@ should match snapshot: value: '{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/os","operator":"In","values":["linux"]},{"key":"kubernetes.io/arch","operator":"In","values":["arm64","amd64"]}]}]}}}' - name: OCTOPUS__K8STENTACLE__PERSISTENTVOLUMESIZE value: 10Gi - image: octopusdeploy/kubernetes-agent-tentacle:8.2.2540 + image: octopusdeploy/kubernetes-agent-tentacle:8.2.2585 imagePullPolicy: IfNotPresent name: octopus-agent-tentacle resources: diff --git a/charts/kubernetes-agent/tests/__snapshot__/tentacle-pvc_test.yaml.snap b/charts/kubernetes-agent/tests/__snapshot__/tentacle-pvc_test.yaml.snap index 6a2be7ff..11609b0a 100644 --- a/charts/kubernetes-agent/tests/__snapshot__/tentacle-pvc_test.yaml.snap +++ b/charts/kubernetes-agent/tests/__snapshot__/tentacle-pvc_test.yaml.snap @@ -7,7 +7,7 @@ should match snapshot when storageClassName is set: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: octopus-agent - app.kubernetes.io/version: 8.2.2540 + app.kubernetes.io/version: 8.2.2585 helm.sh/chart: kubernetes-agent-1.20.0 name: octopus-agent-RELEASE-NAME-pvc spec: diff --git a/charts/kubernetes-agent/tests/__snapshot__/tentacle-serviceaccount_test.yaml.snap b/charts/kubernetes-agent/tests/__snapshot__/tentacle-serviceaccount_test.yaml.snap index cbf52931..02e4d29a 100644 --- a/charts/kubernetes-agent/tests/__snapshot__/tentacle-serviceaccount_test.yaml.snap +++ b/charts/kubernetes-agent/tests/__snapshot__/tentacle-serviceaccount_test.yaml.snap @@ -8,7 +8,7 @@ should match snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: octopus-agent - app.kubernetes.io/version: 8.2.2540 + app.kubernetes.io/version: 8.2.2585 helm.sh/chart: kubernetes-agent-1.20.0 name: octopus-agent-tentacle namespace: NAMESPACE diff --git a/charts/kubernetes-agent/tests/tentacle-deployment_test.yaml b/charts/kubernetes-agent/tests/tentacle-deployment_test.yaml index 24fa06db..972e67af 100644 --- a/charts/kubernetes-agent/tests/tentacle-deployment_test.yaml +++ b/charts/kubernetes-agent/tests/tentacle-deployment_test.yaml @@ -266,4 +266,4 @@ tests: asserts: - equal: path: spec.template.spec.containers[0].image - value: "octopusdeploy/kubernetes-agent-tentacle:8.2.2540-bullseye-slim" + value: "octopusdeploy/kubernetes-agent-tentacle:8.2.2585-bullseye-slim" diff --git a/charts/kubernetes-agent/values.yaml b/charts/kubernetes-agent/values.yaml index ba91812f..578abd0c 100644 --- a/charts/kubernetes-agent/values.yaml +++ b/charts/kubernetes-agent/values.yaml @@ -103,7 +103,7 @@ agent: image: repository: octopusdeploy/kubernetes-agent-tentacle pullPolicy: IfNotPresent - tag: "8.2.2540" + tag: "8.2.2585" tagSuffix: "" # -- Credentials used during agent-upgrade tasks. To be populated if encountering rate-limiting failures.