Giter VIP home page Giter VIP logo

rancher / partner-charts Goto Github PK

View Code? Open in Web Editor NEW
47.0 34.0 165.0 274.72 MB

A catalog based on applications from independent software vendors (ISVs). Most of them are SUSE Partners.

Home Page: https://ranchermanager.docs.rancher.com/pages-for-subheaders/helm-charts-in-rancher#charts

HTML 0.01% Shell 15.43% Smarty 39.30% Mustache 43.78% Makefile 0.23% CSS 0.06% JavaScript 0.54% Starlark 0.01% HCL 0.19% Python 0.15% Open Policy Agent 0.08% Go 0.22%
helm isv partner

partner-charts's Introduction

partner-charts

This repository is reserved for partner charts in the Rancher's v2.5+ catalog. As part of this catalog, all charts will benefit of a cloud native packaging system that directly references an upstream chart from a Helm repository and automates applying Rancher specific modifications and adding overlay files on top of it.

Requirements

  • Chart must be Helm 3 compatible.

    Helm 2 installed CRDs via an helm.sh/hook: crd-install annotation that installed CRDs via a special hook. In Helm 3, this annotation was removed in favor of a crds/ directory where your CRDs should now reside. Templating and upgrading CRDs is also no longer supported by default. Users who need to support templating / upgrading CRDs should use a separate CRD chart that installs the CRDs via the templates/ directory instead. Leaving this hook in your chart will not cause it to break, but will cause the Helm logs to emit the warning manifest_sorter.go:175: info: skipping unknown hook: "crd-install" on an install or upgrade.

    In addition, starting Helm 3.5.2, Helm is stricter about parsing semver strings. Therefore, to ensure that your chart is deployable via Helm 3.5.2, your chart must have a semver-compliant version.

    More information:

  • Chart must be in a hosted Helm (recommended) or Git repository that we can reference.

  • Chart must have the following Rancher specific add-ons (More details on this below).

    • kubeVersion set in the chart's metadata
    • app-readme.md
    • questions.yml (Optional)

Workflow

1. Fork the Rancher Partner Charts repository, clone your fork, checkout the main-source branch and pull the latest changes.

Then create a new branch off of main-source

2. Create subdirectories in packages in the form of <vendor>/<chart>

cd partner-charts
mkdir -p packages/suse/kubewarden-controller

3. Create your upstream.yaml in packages/<vendor>/<chart>

The tool reads a configuration yaml, upstream.yaml, to know where to fetch the upstream chart. This file is also able to define any alterations for valid variables in the Chart.yaml as described by Helm.

Important: In GKE clusters, a Helm Chart will NOT display in Rancher Apps unless kubeVersion includes -0 suffix in Chart.yaml For example:

kubeVersion: '>= 1.19.0-0'  

Some example upstream.yaml are provided below

cat <<EOF > packages/suse/kubewarden-controller/upstream.yaml
HelmRepo: https://charts.kubewarden.io
HelmChart: kubewarden-controller
Vendor: SUSE
DisplayName: Kubewarden Controller
ChartMetadata:  
  icon: https://www.kubewarden.io/images/icon-kubewarden.svg
EOF

Create any add-on files such as an app-readme.md and questions.yml in an overlay subdirectory (Optional)

mkdir packages/suse/kubewarden-controller/overlay
echo "Example app-readme.md" > packages/suse/kubewarden-controller/overlay/app-readme.md

5. Commit your packages directory

git add packages/suse/kubewarden-controller
git commit -m "Submitting suse/kubewarden-controller"

7. Push your commit

git push origin <your_branch>

8. Open a pull request to main-source branch

Testing your configuration

If you would like to test your configuration using the CI tool, simply run the provided script in scripts/pull-ci-scripts to download the binary. The 'auto' function is what will be run to download and store your chart.

1. Download the binary

scripts/pull-ci-scripts

2. Set the PACKAGE environment variable to your chart

You can confirm the package entry with bin/partner-charts-ci list which will list all detected charts with a configuration file.

export PACKAGE=<vendor>/<chart>

3. Run the 'auto' or 'stage' function

The 'auto' subcommand will run the complete CI process. The 'stage' subcommand will do the same process but will not create a git commit when it completes.

bin/partner-charts-ci auto

4. Validate your changes

bin/partner-charts-ci validate

Testing new chart on Rancher Apps UI

  1. If you haven't done so yet, pull down your new chart files into your local partner-charts repository:
a) Get scripts: scripts/pull-ci-scripts
b) List and find your company name/chart: bin/partner-charts-ci list | grep <vendor>
c) set PACKAGE variable to your company/chart: export PACKAGE=<vendor>/<chart-name> or export PACKAGE=<vendor>
d) Run bin/partner-charts-ci stage or auto # the new charts should be downloaded
  1. In your local partner-charts directory start a python3 http server:
#python3 -m http.server 8000
  1. From a second terminal expose your local http server via ngrok ( https://ngrok.com/download )
#./ngrok http 8000
  1. In Rancher UI create a test repository that points to your local partner-charts repo by selecting an appropriate cluster and going to Apps > Repositories and clicking "Create". Enter a Name, copy ngrok forwarding url and paste it into Target http(s) "Index URL" and click "Create" again.

  2. Once the new repository is "Active" go to Apps > Charts , find your new chart, review Readme is correct, etc. and install it. It should be successfully deployed.

Overlay

Any files placed in the packages/<vendor>/<chart>/overlay directory will be overlayed onto the chart. This allows for adding or overwriting files within the chart as needed. The primary intended purpose is for adding the optional app-readme.md and questions.yml files but it may be used for adding or replacing any chart files.

  • app-readme.md - Write a brief description of the app and how to use it. It's recommended to keep it short as the longer README.md in your chart will be displayed in the UI as detailed description.

  • questions.yml - Defines a set of questions to display in the chart's installation page in order for users to answer them and configure the chart using the UI instead of modifying the chart's values file directly.

Questions example

Variable Reference

questions:
- variable: password
  default: ""
  required: true
  type: password
  label: Admin Password
  group: "Global Settings"
- variable: service.type
  default: "ClusterIP"
  type: enum
  group: "Service Settings"
  options:
    - "ClusterIP"
    - "NodePort"
    - "LoadBalancer"
  required: true
  label: Service Type
  show_subquestion_if: "NodePort"
  subquestions:
  - variable: service.nodePort
    default: ""
    description: "NodePort port number (to set explicitly, choose port between 30000-32767)"
    type: int
    min: 30000
    max: 32767
    label: Service NodePort

Configuration File

Options for upstream.yaml

Variable Requires Description
ArtifactHubPackage ArtifactHubRepo Defines the package to pull from the defined ArtifactHubRepo
ArtifactHubRepo ArtifactHubPackage Defines the repo to access on Artifact Hub
AutoInstall Allows setting a required additional chart to deploy prior to current chart, such as a dedicated CRDs chart
ChartMetadata Allows setting/overriding the value of any valid Chart.yaml variable
DisplayName Sets the name the chart will be listed under in the Rancher UI
Experimental Adds the 'experimental' annotation which adds a flag on the UI entry
Fetch HelmChart, HelmRepo Selects set of charts to pull from upstream.
- latest will pull only the latest chart version default
- newer will pull all newer versions than currently stored
- all will pull all versions
GitBranch GitRepo Defines which branch to pull from the upstream GitRepo
GitHubRelease GitRepo If true, will pull latest GitHub release from repo. Requires GitHub URL
GitRepo Defines the git repo to pull from
GitSubdirectory GitRepo Allows selection of a subdirectory of the upstream git repo to pull the chart from
HelmChart HelmRepo Defines which chart to pull from the upstream Helm repo
HelmRepo HelmChart Defines the upstream Helm repo to pull from
Hidden Adds the 'hidden' annotation which hides the chart from the Rancher UI
Namespace Addes the 'namespace' annotation which hard-codes a deployment namespace for the chart
PackageVersion Used to generate new patch version of chart
ReleaseName Sets the value of the release-name Rancher annotation. Defaults to the chart name
TrackVersions HelmChart, HelmRepo Allows selection of multiple Major.Minor versions to track from upstream independently.
Vendor Sets the vendor name providing the chart

Examples

Helm Repo

Minimal Requirements

HelmRepo: https://charts.kubewarden.io
HelmChart: kubewarden-controller
Vendor: SUSE
DisplayName: Kubewarden Controller

Multiple Release Streams

HelmRepo: https://charts.kubewarden.io
HelmChart: kubewarden-controller
Vendor: SUSE
DisplayName: Kubewarden Controller
Fetch: newer
TrackVersions:
  - 0.4
  - 1.0
  - 1.1
ChartMetadata:
  kubeVersion: '>=1.21-0'
  icon: https://www.kubewarden.io/images/icon-kubewarden.svg

Artifact Hub

ArtifactHubRepo: kubewarden
ArtifactHubPackage: kubewarden-controller
Vendor: SUSE
DisplayName: Kubewarden Controller
ChartMetadata:
  kubeVersion: '>=1.21-0'
  icon: https://www.kubewarden.io/images/icon-kubewarden.svg

Git Repo

GitRepo: https://github.com/kubewarden/helm-charts.git
GitBranch: main
GitSubdirectory: charts/kubewarden-controller
Vendor: SUSE
DisplayName: Kubewarden Controller
ChartMetadata:
  kubeVersion: '>=1.21-0'
  icon: https://www.kubewarden.io/images/icon-kubewarden.svg

GitHub Release

GitRepo: https://github.com/kubewarden/helm-charts.git
GitHubRelease: true
GitSubdirectory: charts/kubewarden-controller
Vendor: SUSE
DisplayName: Kubewarden Controller
ChartMetadata:
  kubeVersion: '>=1.21-0'
  icon: https://www.kubewarden.io/images/icon-kubewarden.svg

Migrate existing chart to automated updates

These steps are for charts still using package.yaml to track upstream chart. These charts should be migrated to receive automatic updates via an upstream.yaml by following the steps below. After chart is migrated, it should get updated from your helm/github repo automatically.

1. Fork partner-charts repository, clone your fork, checkout the main-source branch and pull the latest changes. Then create a new branch off of main-source

2. Create directory structure for your company and chart in packages/<vendor>/<chart> e.g.

mkdir -p partner-charts/packages/suse/kubewarden-controller

3. Create an upstream.yaml in packages/<vendor>/<chart>

If your existing chart is using a high patch version like 5.5.100 due to old method of taking version 5.5.1 and modifying it with the PackageVersion, add PackageVersion to the upstream.yaml (set it to 01 , 00 is not valid). Ideally, when the the next minor version is released e.g. 5.6.X you can then remove PackageVersion from the upstream.yaml since 5.6.X > 5.5.XXX. E.g.

cat <<EOF > packages/suse/kubewarden-controller/upstream.yaml
HelmRepo: https://charts.kubewarden.io
HelmChart: kubewarden-controller
Vendor: SUSE
DisplayName: Kubewarden Controller
PackageVersion: 01 # add if existing chart is using high patch version
ChartMetadata:
  kubeVersion: '>=1.21-0'
  icon: https://www.kubewarden.io/images/icon-kubewarden.svg
EOF 

4. If there is an overlay dir in partner-charts/packages/<chart>/generated-changes/ move it to packages/<vendor>/<chart>/ and ensure only necessary files are present in overlay dir e.g.

mv partner-charts/packages/kubewarden-controller/generated-changes/overlay partner-charts/packages/suse/kubewarden-controller/

Check the old generated-changes/patch directory for any requisite other changes. If there is an edit in Chart.yaml.patch that needs to be replicated, it can be handled in the upstream.yaml ChartMetadata (see https://github.com/rancher/partner-charts#configuration-file). If it is a change for any other file in the chart it can be done via an overlay file. See https://github.com/rancher/partner-charts#overlay

5. Clean up old packages and charts directories:

git rm -r packages/<chart>
git rm -r charts/<chart>
  • Note: If a chart is using a logo file in partner-charts repo, make sure the icon: variable is set correctly in the upstream.yaml ChartMetadata.

6. Stage your changes (To make sure the config works, and to setup the new charts and assets directories)

export PACKAGE=<vendor>/<chart>
bin/partner-charts-ci stage

7. Move the old assets files to the new directory (Sometimes this is unchanged but most times it does change)

git mv assets/<chart>/* assets/<vendor>/

8. Update the index.yaml to reflect the new assets path for existing entries

sed -i 's%assets/<chart>%assets/<vendor>%' index.yaml

After doing this, run this loop to validate that every assets file referenced in the index actually exists, it makes sure your paths aren't edited incorrectly.

for charts in $(yq '.entries[][] | .urls[0]' index.yaml); do stat ${charts} > /dev/null; if [[ ! $? -eq 0 ]]; then echo ${charts}; fi; done

The command should return quickly with no output. If it outputs anything it means some referenced assets files don't exist which is a problem.

9. Add/Commit your changes

git add assets charts packages index.yaml
git commit -m "Migrating <vendor> <chart> chart"

10. Push your commit

git push origin <your branch>

11. Open a pull request to the main-source branch for review

partner-charts's People

Contributors

adamkpickering avatar aiyengar2 avatar ajeetas avatar akankshakumari393 avatar alex-isv avatar alexhq avatar andrewheberle avatar atrendafilov avatar charlklein avatar cheesiong-lee avatar ciarams87 avatar dahuang-purestorage avatar datamattsson avatar deniseschannon avatar digiserg avatar eliaskoromilas avatar github-actions[bot] avatar gopaddle-io avatar ibuildthecloud avatar moabu avatar muvaf avatar nitishdsharma avatar pennyscissors avatar ravilach avatar recena avatar samuelattwood avatar selvamt70 avatar trilio-ci-bot avatar turkenh avatar tuxtof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

partner-charts's Issues

Make prepare fails with "Hunk #1 FAILED at 15."

Overview

During the update process of the Dynatrace-oneagent-operator from the currently existing 0.8.0 version to the new 0.10.2 version I experienced troubles when running make prepare

Steps to reproduce

  1. Forked latest state of partner-charts repo
  2. Created a new branch based on the main-source branch
  3. Updated the url field in /packages/dynatrace-oneagent-operator/package.yaml from
    https://raw.githubusercontent.com/Dynatrace/helm-charts/master/repos/stable/dynatrace-oneagent-operator-0.8.0.tgz
    to
    https://raw.githubusercontent.com/Dynatrace/helm-charts/master/repos/stable/dynatrace-oneagent-operator-0.10.2.tgz
  4. Set package variable export PACKAGE=dynatrace-oneagent-operator
  5. Run make prepare

Error

INFO[0000] Pulling https://raw.githubusercontent.com/Dynatrace/helm-charts/master/repos/stable/dynatrace-oneagent-operator-0.10.2.tgz from upstream into charts
INFO[0000] Loading dependencies for chart
INFO[0000] Applying changes from generated-changes
INFO[0000] Applying: generated-changes/patch/Chart.yaml.patch
ERRO[0000]
patching file Chart.yaml
Hunk #1 FAILED at 15.
1 out of 1 hunk FAILED -- saving rejects to file Chart.yaml.rej
FATA[0000] Encountered error while preparing main chart: Encountered error while trying to apply changes to charts: Unable to generate patch with error: exit status 1
make: *** [Makefile:8: prepare] Error 1

Sadly the error message is not very descriptive

Health check of Upbound Universal Crossplane

This issue aims to perform a health check of this application.

Attribute Value
Application https://www.crossplane.io/
Vendor https://www.upbound.io/
Contact info [email protected]; @turkenh; @grantgumina
Documentation https://docs.crossplane.io/v1.13/software/
SCM https://github.com/upbound/universal-crossplane
Helm Charts ??
  • We want to contact with the vendor and ensure they are still interested on having this apps into the catalog.
  • If they are interested, work together with them to review the recipes.

๐Ÿ“” There are no updates of this application (in the catalog) in the last 12 months.

Acceptance criteria

  • There is an email thread or GitHub thread (comments) with the vendor
  • We have identified a contact person
  • The recipes are updated or deprecated according to their interest.

Health-check of Emissary-Ingress

This issue aims to perform a health check of this application.

Attribute Value
Application Emissary-Ingress
Vendor Ambassador Labs
Contact Info. ???
Documentation. https://www.getambassador.io/docs/emissary
SCM https://github.com/emissary-ingress/emissary
Helm Charts https://github.com/emissary-ingress/emissary/tree/master/charts/emissary-ingress
  • We want to contact with the vendor and ensure they are still interested on having this apps into the catalog.
  • If they are interested, work together with them to review the recipes.

๐Ÿ“” There are no updates of this application (in the catalog) in the last 12 months.

Acceptance criteria

  • There is an email thread or GitHub thread (comments) with the vendor
  • We have identified a contact person
  • The recipes are updated or deprecated according to their interest.

[Kubecost] error on make prepare command

Hi. I'm working on integrating Kubecost into the Rancher partner charts, but I've run into an issue I can't seem to figure out on the make prepare CHART=kubecost command. I've been following the README instructions, and have forked a repo here.

At first, I was running into Error: Chart.yaml file is missing when running the make script, which I traced to this line in the script (helm dependency update command)

After further debugging on the command, and implementing the change mentioned in this comment, I'm still running into a chart not found error when running helm dependency update:

Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "kubecost" chart repository
Update Complete. โŽˆHappy Helming!โŽˆ
Saving 3 charts
Save error occurred:  directory charts/prometheus not found
Deleting newly downloaded charts, restoring pre-update state
Error: directory charts/prometheus not found

I initially suspected that the issue was that the kube-state-metrics repo URL in the prometheus subchart's requirements.yaml file had changed, as described in this Helm blog post, but updating the URL in the file, or deleting prometheus requirements.yaml altogether didn't have any effect.

Has anyone encountered this problem before? I'd greatly appreciate help from someone more knowledgeable on this problem.

Deprecate HPE FlexVolume Driver for Kubernetes

There are no instructions on how to remove an entry. HPE FlexVolume Driver for Kubernetes is deprecated and not supported by HPE.

If possible, mark Rancher 2.2.0 as rancher_max_version on all releases.

Health check of Tetrate Istio Distro

This issue aims to perform a health check of this application.

Attribute Value
Application Tetrate Istio Distro
Vendor Tetrate
Contact Info. [email protected], @PetrMc, @saptak
Documentation. https://istio.tetratelabs.io/introduction/
SCM https://github.com/tetratelabs
Helm Charts https://github.com/tetratelabs/helm-charts
  • We want to contact with the vendor and ensure they are still interested on having this apps into the catalog.
  • If they are interested, work together with them to review the recipes.

๐Ÿ“” There are no updates of this application (in the catalog) in the last 12 months.

Acceptance criteria

  • There is an email thread or GitHub thread (comments) with the vendor
  • We have identified a contact person
  • The recipes are updated or deprecated according to their interest.

Portworx deployment out of date

Based on reports from a user, the Portworx partner chart is using an older deployment model that places resources in kube-system. This is no longer the deployment model for contemporary Portworx installations, amongst other changes.

Maybe somebody from Portworx can give this a few minutes of attention.

partner-charts.rancher.io not up to date

Hi there!

I am unable to get the latest helm chart for mongodb/community-operator (version 0.8.0) through our Artifactory repo pointing to partner-charts.rancher.io, even though this version is present in rancher/partner-charts. I am not 100% sure (not used to working with github), but to me it looks like this site has not been updated since April 20th, after which all the "pages build and deployment" actions failed.

Is anyone aware of this issue and working on a fix?

Datadog Failed to Deploy 404 Error

Couldn't get the Datadog to work because of an error ``

2020/10/25 10:50:45 [INFO] Catalog sync done. 0 templates created, 12 templates updated, 2 templates deleted, 0 templates failed
2020/10/25 10:50:52 [ERROR] failed to load chart: Error fetching helm URLs: [Error in HTTP GET of [assets/datadog/datadog-2.4.200.tgz], received: 404 Not Found]

This log is taken from rancher 2.5

Update kubecost to v1.74.0

Hello, would it be possible to update kubbecost to v1.74.0 as it has some good new features and fixes?

Unable to Log In to Harbor UI After Installation via Rancher Manager Apps

Describe the bug (๐Ÿ› if you encounter this issue)

I installed Harbor using Rancher Manager Apps, but I am unable to log in to the Harbor UI using the default credentials admin / Harbor12345

To Reproduce

Recording 2023-11-09 at 15 42 07

Expected behavior

User could log in to the Harbor UI using the default credentials admin / Harbor12345

Log file for troubleshooting

harbor-portal-8cb4ff958-gj5vg_portal(1).log

Environment

  • Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Rancher(v2.8.0-rc3) Catalog App
  • Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.27.7 +k3s1
    • Number of management node in the cluster: 1
    • Number of worker node in the cluster: 3
  • Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): AWS

Additional context

N/A

feature request - hpe-csi-driver 2.0.0 : add storage backend value for secret

Per partner deployment 2.0.0 documentation, one needs to add a specific parameter, in secret, to connect to the server providing the storage backend. While the existing chart can be deployed without that, the actual use of the CSI/StorageClass needs this to be completely functional.

So, if possible, can this "value" be added to the webUI as a parameter (or at minimum called out in doc/UI) to integrate into the kind: StorageClass (where templates were available for previous versions, but still unsure how those were even leveraged before).

Make Charts - FATA[0001] Repository must be clean to generate charts

All wise and all-knowing Rancher Partner Charts experts, running into a little snag.
On step 7, when it is time to tarball/make the chart, I keep getting an error:

make chart
.
.
.
A  packages/shipa/charts/templates/shipa-uninstall-job.yaml 
FATA[0001] Repository must be clean to generate charts  
make: *** [charts] Error 1

Finding the untracked/unclean files, there are none

ravi@Ravis-MBP partner-charts %  git status --porcelain | grep "^?? " | sed -e 's/^[?]* //'
ravi@Ravis-MBP partner-charts % git ls-files --others --exclude-standard
ravi@Ravis-MBP partner-charts % 

Thanks!

Some charts in index.yaml result in Rancher 404 on loading charts

Rancher Server Setup

  • Rancher version: v2.6.0
  • Installation option (Docker install/Helm Chart): Docker install
    • If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):
  • Proxy/Cert Details:

Information about the Cluster

  • Kubernetes version: v1.21.3
  • Cluster Type (Local/Downstream): local
    • If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

Describe the bug

404 error when trying to load partner-charts for 2 charts

To Reproduce

  • Provision Rancher
  • Navigate to local cluster
  • Go to Apps & Marketplace -> Charts and view Network on Developer Tools in browser

Result

Observe two 404s coming from the following two links related to partner-charts:

Expected Result

No 404s

Screenshots

Additional context

Questions.yaml does not show subquestions with different input values at show_subquestion_if for the same variable.

In my product, TrilioVault for Kubernetes, we are trying to insert the value for a variable as true | false, and depending on the user input we want to show different subquestions to the user and get more inputs.
What I observed is that questions.yaml is not able to show_subquestions when the same variable has different input values and then shows different subquestions depending on the input value. Refer the questions.yaml file here

In the above file, to make the variable installTVK.ComponentConfiguration.ingressController.enabled work, I have to add the same variable twice with true and false values.
Let me know if there is a better way to manage this sceanario.

Rancher suggests users upgrade the k3s-packaged Traefik chart, breaking ingress

A recent PR added a Traefik chart to partner-charts:

K3s also packages Traefik. If you go into Installed Apps in Apps and Marketplace, there is an option to update it:
image

If the user clicks through the new version, the chart upgrade will succeed, but the traefik pod will go into ImagePullBackoff because the tag used by version 10.6.0 of the chart (v2.5.3) is not mirrored in the rancher Docker Hub org. This will leave the ingress broken and (if it is being used to access Rancher) lock the user out of Rancher. At this point the user would have to either restart k3s (so that the packaged chart is reinstalled) or use kubectl to roll back the chart update.

I believe that the Rancher UI should not offer upgrades to K3s or RKE2 packaged components. Especially not on the local cluster.

Case sensitivity issue cloning repo to Mac

$ git clone https://github.com/rancher/partner-charts/
Cloning into 'partner-charts'...
remote: Enumerating objects: 28235, done.
remote: Counting objects: 100% (1725/1725), done.
remote: Compressing objects: 100% (1034/1034), done.
remote: Total 28235 (delta 628), reused 1638 (delta 613), pack-reused 26510
Receiving objects: 100% (28235/28235), 98.61 MiB | 23.99 MiB/s, done.
Resolving deltas: 100% (13893/13893), done.
Updating files: 100% (8980/8980), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'charts/gopaddle/gopaddle/README.md'
  'charts/gopaddle/gopaddle/readme.md'

Health check of Komodor Agent / k8s-watcher

This issue aims to perform a health check of this application.

Attribute Value
Application Komodor Agent / k8s-watcher
Vendor Komodor
Contact Info. @nagauker
Documentation. https://docs.komodor.com/Learn/Komodor-Agent.html
SCM https://github.com/komodorio/helm-charts
Helm Charts https://github.com/komodorio/helm-charts/tree/master/charts/k8s-watcher
  • We want to contact with the vendor and ensure they are still interested on having this apps into the catalog.
  • If they are interested, work together with them to review the recipes.

๐Ÿ“” There are no updates of this application (in the catalog) in the last 12 months.

Acceptance criteria

  • There is an email thread or GitHub thread (comments) with the vendor
  • We have identified a contact person
  • The recipes are updated or deprecated according to their interest.

Partner charts no longer updated?

Hi!

When I was looking at our partner chart in the Rancher marketplace I noticed that it hasn't been updated in a significant time (i.e. 2 months). I thought that happened automatically, using a (daily?) job? Are you aware whether something it broken?

Configure the use of CODEOWNER

We want to improve how we perform the code review process. We want to configure the CODEOWNERS file.

๐Ÿ“š Github documentation about this feature.

Acceptance criteria

  • CODEWONERS file is configured
  • The team is aware of it

Problem updating HAProxy chart

I'm sure its something simple I'm missing with the slightly changed process but after updating the upstream Helm chart version and committing my changes to my local branch I get the following error when running make charts:

<< SNIP >>
 M charts/kubecost/cost-analyzer/1.70.0/Chart.yaml
 M charts/federatorai/federatorai/4.5.100+up4.5.1/templates/03-federatorai-operator.deployment.yaml
 M charts/instana-agent/instana-agent/1.0.2900+up1.0.29/README.md
 M charts/ambassador/ambassador/6.7.1100+up6.7.11/templates/serviceaccount.yaml
 M charts/artifactory-jcr/artifactory-jcr/3.4.0/charts/artifactory/requirements.yaml
 M charts/artifactory-jcr/artifactory-jcr/3.4.0/charts/artifactory/security-mitigation.yaml
 M charts/kubecost/cost-analyzer/1.70.0/charts/prometheus/templates/node-exporter-daemonset.yaml
FATA[0003] Repository must be clean to generate charts
Makefile:7: recipe for target 'charts' failed
make: *** [charts] Error 1

Health check of Dkube

This issue aims to perform a health check of this application.

Attribute Value
Application Dkube Deployer
Vendor Dkube
Contact Info. [email protected], @tijithomas
Documentation. https://docs.dkube.io/unlinked/install2_1/Install-Getting-Started.html
SCM https://github.com/oneconvergence
Helm Charts https://github.com/oneconvergence/dkube-helm
  • We want to contact with the vendor and ensure they are still interested on having this apps into the catalog.
  • If they are interested, work together with them to review the recipes.

๐Ÿ“” There are no updates of this application (in the catalog) in the last 12 months.

Acceptance criteria

  • There is an email thread or GitHub thread (comments) with the vendor
  • We have identified a contact person
  • The recipes are updated or deprecated according to their interest.

Dxemssql 500 Icon Get Response

Hello, the icon is getting a 500 server response, we have tested it with different header possibilities, and it worked with an unusual configuration like (User-Agent: "").

We have decided not to implement the workaround, the chart owners should fix this unusual behavior on their side.

Task that generated this investigation: 404s at the Chart Marketplace

cURL request for making debugging easier, you will have to replace the cookies with yours:
curl 'https://localhost:8443/v1/catalog.cattle.io.clusterrepos/rancher-partner-charts?chartName=dxemssql&link=icon&version=1.0.2' \ -H 'Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8' \ -H 'Accept-Language: en-US,en;q=0.9' \ -H 'Connection: keep-alive' \ -H 'Cookie: R_PCS=light; R_LOCALE=en-us; R_REDIRECTED=true; R_USERNAME=admin; R_THEME=dark; CSRF=0f82d1f94dec5cdeba4397078a69906a; R_SESS=token-7xmb8:kbzwqjjf8w9hp9z7d8888drfj25t7bvjcndtlgg875l67cwbdftbpv' \ -H 'Referer: https://localhost:8443/dashboard/c/local/apps/charts' \ -H 'Sec-Fetch-Dest: image' \ -H 'Sec-Fetch-Mode: no-cors' \ -H 'Sec-Fetch-Site: same-origin' \ -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36' \ -H 'sec-ch-ua: "Chromium";v="110", "Not A(Brand";v="24"' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'sec-ch-ua-platform: "Linux"' \ --compressed \ --insecure

image

Kasten K10 version 5.5.5 automatic update

After migration, the new version of charts were expected to be automatically pulled, But we don't see Kasten k10 version 5.5.5 in index.yaml of the repo. Do we need to make some extra changes?

Dkube wrong Icon URL

Hi I am on the Mapps team and have been working on the task of resolving 404s at the Chart Marketplace

I have traced the issue and realized that the problem is because of a wrong URL inserted and approved in the following PR Commit:
a08b0e1
image

Currently, the only 404 response we are getting is from Dkube:

image

cURL request for making debugging easier, you will have to replace the cookies with yours:curl 'https://localhost:8443/v1/catalog.cattle.io.clusterrepos/rancher-partner-charts?chartName=dkube-deployer&link=icon&version=1.0.602' \ -H 'Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8' \ -H 'Accept-Language: en-US,en;q=0.9' \ -H 'Connection: keep-alive' \ -H 'Cookie: R_PCS=light; R_LOCALE=en-us; R_REDIRECTED=true; R_USERNAME=admin; R_THEME=dark; CSRF=0f82d1f94dec5cdeba4397078a69906a; R_SESS=token-7xmb8:kbzwqjjf8w9hp9z7d8888drfj25t7bvjcndtlgg875l67cwbdftbpv' \ -H 'Referer: https://localhost:8443/dashboard/c/local/apps/charts' \ -H 'Sec-Fetch-Dest: image' \ -H 'Sec-Fetch-Mode: no-cors' \ -H 'Sec-Fetch-Site: same-origin' \ -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36' \ -H 'sec-ch-ua: "Chromium";v="110", "Not A(Brand";v="24"' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'sec-ch-ua-platform: "Linux"' \ --compressed \ --insecure

As far as I know, the responsibility for this information is from the chart owner (dkube). I will leave 2 examples here from other rancher partner charts so someone can correct the issue:

In these examples all Chart.yaml files have a functioning icon URL.

/usr/local/bin/partner-charts-ci auto is failing with author field is required

  • curl -s -L -o /usr/local/bin/partner-charts-ci https://github.com/samuelattwood/partner-charts-ci/releases/latest/download/partner-charts-ci-linux-amd64
  • chmod +x /usr/local/bin/partner-charts-ci
  • export PACKAGE=dell/csi-powermax
  • PACKAGE=dell/csi-powermax
  • /usr/local/bin/partner-charts-ci auto
    time="2023-12-19T12:53:35-05:00" level=info msg="Parsed dell/csi-powermax\n"
    time="2023-12-19T12:53:35-05:00" level=info msg="\n Source: Git\n Vendor: Dell\n Chart: csi-powermax\n Version: 2.9.0\n URL: https://github.com/dell/helm-charts.git \n"
    time="2023-12-19T12:53:39-05:00" level=info msg="Cleaning package dell/csi-powermax\n"
    time="2023-12-19T12:53:56-05:00" level=info msg="Committing changes"
    time="2023-12-19T12:54:33-05:00" level=fatal msg="author field is required"

No access to any values with dash in the name

๐Ÿ› ๐Ÿ› ๐Ÿ›

Steps to reproduce

  1. Create a questions.yaml with the following
# MyExampleApp
- variable: global.myapp-api.enabled
  default: true
  type: boolean
  group: "Optional Services"
  required: true
  label: Enable MyAppAPI
  description: "What a cool app!"
- variable: myapi-app.replicas
  default: 1
  required: false
  type: int
  group: "Replicas"
  label: MyAppAPI Replicas
  description: "Service replica number."
  show_if: "global.myapp-api.enabled=true"
  1. Follow instructions to generate and test the chart . Add the repository to the UI.

  2. Inside the UI, head to the Charts section and click on the chart added. Choose the option enabling the example app.

  3. The Replicas group does not appear.

This happens with all dashed keys.

Current behaviour (bug)

It seems like any key that contains a dash - in the questions.yaml is not accessed, and hence does not resolve correctly in the UI.

# MyExampleApp
- variable: global.myapp-api.enabled
  default: true
  type: boolean
  group: "Optional Services"
  required: true
  label: Enable MyAppAPI
  description: "What a cool app!"
- variable: myapi-app.replicas
  default: 1
  required: false
  type: int
  group: "Replicas"
  label: MyAppAPI Replicas
  description: "Service replica number."
  show_if: "global.myapp-api.enabled=true"

Expected behaviour (correct)

I expect the UI show_if and show_subquestion_if to respond to dashed keys.

Relevant Rancher logs

HEAD is now at 8a66d84 test:re
2021-11-04 08:36:45.202767 I | mvcc: store.index: compact 41063
2021-11-04 08:36:45.240412 I | mvcc: finished scheduled compaction at 41063 (took 36.708926ms)
2021/11/04 08:36:45 [TRACE] REST LIST api//v1//componentstatuses
2021/11/04 08:37:00 [TRACE] REST LIST api//v1//componentstatuses
2021/11/04 08:37:15 [TRACE] REST LIST api//v1//componentstatuses
HEAD is now at cc5a839 Merge pull request #228 from alex-isv/main
HEAD is now at cc5a839 Merge pull request #228 from alex-isv/main
HEAD is now at 1a6477e Bump harvester csi driver 0.1.4
HEAD is now at 1a6477e Bump harvester csi driver 0.1.4
HEAD is now at 1a6477e Bump harvester csi driver 0.1.4
HEAD is now at cc5a839 Merge pull request #228 from alex-isv/main
2021/11/04 08:37:24 [DEBUG] [etcd-backup] checking backups for cluster [local]
2021/11/04 08:37:24 [DEBUG] [etcd-backup] [local] is not an rke cluster, skipping..
2021/11/04 08:37:30 [TRACE] REST LIST api//v1//componentstatuses
HEAD is now at 7bd8cb6 Merge pull request #1577 from thedadams/release-v2.6-2.5.10-forward-port
2021/11/04 08:37:32 [DEBUG] Skipping installing/upgrading desired version 100.0.1+up0.3.7 for release fleet, current version 100.0.1+up0.3.7 is greater or equal to minimal required version 100.0.1+up0.3.7
HEAD is now at 7bd8cb6 Merge pull request #1577 from thedadams/release-v2.6-2.5.10-forward-port
2021/11/04 08:37:32 [DEBUG] Skipping installing/upgrading desired version 100.0.1+up0.3.7 for release fleet-crd, current version 100.0.1+up0.3.7 is greater or equal to minimal required version 100.0.1+up0.3.7
2021/11/04 08:37:32 [DEBUG] Skipping installing/upgrading desired version 1.0.1+up0.2.1 for release rancher-webhook, current version 1.0.1+up0.2.1 is greater or equal to minimal required version 1.0.1+up0.2.1
2021/11/04 08:37:33 [TRACE] SettingController calling handler mgmt-auth-settings-controller server-url
2021/11/04 08:37:33 [TRACE] SettingController calling handler rke-metadata-handler server-url
2021/11/04 08:37:33 [DEBUG] DesiredSet - No change(2) /v1, Kind=ServiceAccount cattle-system/git-webhook-api-service for apiservice git-webhook
2021/11/04 08:37:33 [DEBUG] DesiredSet - No change(2) /v1, Kind=Secret cattle-fleet-system/stv-aggregation for apiservice git-webhook
HEAD is now at 7bd8cb6 Merge pull request #1577 from thedadams/release-v2.6-2.5.10-forward-port
2021/11/04 08:37:33 [TRACE] SettingController calling handler mgmt-auth-settings-controller server-url
2021/11/04 08:37:33 [TRACE] SettingController calling handler rke-metadata-handler server-url
2021/11/04 08:37:33 [DEBUG] DesiredSet - No change(2) /v1, Kind=ServiceAccount cattle-system/git-webhook-api-service for apiservice git-webhook
2021/11/04 08:37:33 [DEBUG] DesiredSet - No change(2) /v1, Kind=Secret cattle-fleet-system/stv-aggregation for apiservice git-webhook
2021/11/04 08:37:33 [DEBUG] Skipping installing/upgrading desired version 100.0.1+up0.3.7 for release fleet, current version 100.0.1+up0.3.7 is greater or equal to minimal required version 100.0.1+up0.3.7
2021/11/04 08:37:33 [DEBUG] Skipping installing/upgrading desired version 100.0.1+up0.3.7 for release fleet-crd, current version 100.0.1+up0.3.7 is greater or equal to minimal required version 100.0.1+up0.3.7
2021/11/04 08:37:33 [DEBUG] Skipping installing/upgrading desired version 1.0.1+up0.2.1 for release rancher-webhook, current version 1.0.1+up0.2.1 is greater or equal to minimal required version 1.0.1+up0.2.1
2021/11/04 08:37:45 [TRACE] REST LIST api//v1//componentstatuses

Reported by

@moabu

๐Ÿ› ๐Ÿ› ๐Ÿ›

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.