Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] Disable Connection test if the component is disabled #2492

Open
Tracked by #1
xevien96 opened this issue Oct 21, 2024 · 1 comment
Open
Tracked by #1

[ENHANCEMENT] Disable Connection test if the component is disabled #2492

xevien96 opened this issue Oct 21, 2024 · 1 comment
Labels
good first issue Good for newcomers kind/issue Unidentified issue, it could be a bug, misconfig, or anything in between platform/local

Comments

@xevien96
Copy link

xevien96 commented Oct 21, 2024

Describe the issue:

When setting up a cluster for Webmodeler only by disabling all the automation components the operate connection test pod still gets created.

Actual behavior:

Operate connection test pod get created even if operate is disabled.

Expected behavior:

Don't create the connection test pod when Operate is disabled. Same behaviour as with Webmodeler connection test pod

How to reproduce:

Disable Operate in a Helm install via

operate:
  enabled: false

Check with helm template what pods will be created.

Logs:

# Source: camunda-platform/templates/operate/tests/test-connection.yaml
apiVersion: v1
kind: Pod
metadata:
  name: "camunda-management-operate-test-connection"
  labels:
    app: camunda-platform
    app.kubernetes.io/name: camunda-platform
    app.kubernetes.io/instance: camunda-management
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/part-of: camunda-platform
    helm.sh/chart: camunda-platform-11.0.1
    app.kubernetes.io/component: operate
    app.kubernetes.io/version: "8.6.2"
  annotations:
    "helm.sh/hook": test-success
spec:
  containers:
    - name: wget
      image: busybox
      command: ['wget']
      args:  ['camunda-management-operate:80']
  restartPolicy: Never

Environment:

Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.

@xevien96 xevien96 added the kind/issue Unidentified issue, it could be a bug, misconfig, or anything in between label Oct 21, 2024
@aabouzaid aabouzaid added the good first issue Good for newcomers label Oct 21, 2024
@aabouzaid
Copy link
Member

@xevien96 Thanks for reporting this, we will make it for all components 👌

@aabouzaid aabouzaid changed the title [Operate Connection Test Pod] Disable Operate Connection test if operate is disabled [ENHANCEMENT] Disable Connection test if the component is disabled Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers kind/issue Unidentified issue, it could be a bug, misconfig, or anything in between platform/local
Projects
None yet
Development

No branches or pull requests

2 participants