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

added disclosure #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
38 changes: 38 additions & 0 deletions kubernetes/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,44 @@ echo "Importing common functions..."
curl -s ${COMMON_FUNCTIONS_URL} -o "${temp_dir}/common.sh"
source "${temp_dir}/common.sh"

cat << EOF


**** Install infromation ****
Docs Reference for Port's K8s Exporter - https://docs.getport.io/build-your-software-catalog/sync-data-to-catalog/kubernetes/

The following script will ensure a connection to the Kubernetes Cluster which is currently
referenced in your ~/.kubeconfig file.

It will add Port's helm chart ($HELM_REPO_URL) under the name "$HELM_REPO_NAME" locally,
and then install the chart to your Kubernetes cluster under the namespace: "$TARGET_NAMESPACE",
and the Deployment name: "$DEPLOYMENT_NAME".

By default, the exporter is given *read* permissions on all API groups and resources
using the "$DEPLOYMENT_NAME" Cluster Role:

####
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- get
- watch
- list
####

For advanced security configuration - https://docs.getport.io/build-your-software-catalog/sync-data-to-catalog/kubernetes/advanced#security-configuration


In Port, the current K8s cluster will be referenced as "$CLUSTER_NAME".

For further information, don't hesitate to reach out using our in-site Intercom system!
EOF

trigger_continue_prompt

echo "Checking for prerequisites..."

check_commands "helm" "kubectl"
Expand Down