Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Add confluent-hub cli init script #598

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

smartjy
Copy link

@smartjy smartjy commented Apr 18, 2022

What changes were proposed in this pull request?

I want to install confluentinc/kafka-connect-elasticsearch,
so i added install-plugin.sh and then solved it with this

(Please fill in changes proposed in this fix)

How was this patch tested?

This scripts is constomEnv script like example/create-connectors.sh.
The script will run. before the container is started

  customEnv:
    CUSTOM_SCRIPT_PATH: /etc/scripts/install-plugin.sh
 
  volumeMounts:
  - name: install-plugin
    mountPath: /etc/scripts
 
  volumes:
  - name: install-plugin
    configMap:
      name: install-plugin

If you want to create init-hub-cli, use kubectl like this kubectl create configmap cm-file --from-file install-plugin.sh

(Please explain how this patch was tested. E.g. helm upgrade on minikube, helm install on gke)

@smartjy smartjy requested a review from a team as a code owner April 18, 2022 13:46
@smartjy smartjy requested review from karthikeyanas and yangpei1214 and removed request for a team April 18, 2022 13:46
@CLAassistant
Copy link

CLAassistant commented Apr 18, 2022

CLA assistant check
All committers have signed the CLA.

@karthikeyanas
Copy link
Member

We support Connector as a first class API in CFK that would internally use hub-client to install the connectors. Why do we need to do this to install a connector? CC: @yangpei1214

https://docs.confluent.io/operator/current/co-manage-connectors.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants