packtpublishing / -learn-helm Goto Github PK
View Code? Open in Web Editor NEWLearn Helm, published by Packt
License: MIT License
Learn Helm, published by Packt
License: MIT License
Error on helm template my-guestbook Learn-Helm/helm-charts/charts/guestbook since there is no redis chart in repo.
When the install of the jenkins application is performed as specified in Chapter 7 of Learn Helm book, the output indicates that the initial password for the admin user is found in /var/jenkins_home/secrets/initialAdminPassword
and indicates how to see the contents of that file.
However, there is no such file under /var/jenkins_home/secrets
I don't see anything in the book that indicates you expected to be creating a Jenkins Admin account.
Did you specify creation of an admin account or is the password in some other location?
This code does not validate in the yaml validator tool
When I attempt to use the ct application to validate the Guestbook files as documented in the chart testing tools section of chapter 6 in the Learn Helm book, there are errors generated indicating that entries are missing from the the version of the chart_schema.yaml file in your github tree at -Learn-Helm.
I was able to bring in the version of that file from the ct application tree to my clone of that github tree and then could get thru the lint analysis of the guestbook and nginx applications.
It seems this file needs to be updated
As per https://github.com/github/renaming
github is changing their repos so that the default branch is main rather than master.
When I created, as per chapter 5 of Learn-Helm, the github repo for the helm chart repository on 3 Feb 2021, I ended up with a main branch rather than a master branch as the default branch in the repo.
The first time that the Test and Release Helm Charts Jenkins job of Chapter 7 runs, it attempts to push the new chart artifacts into the master branch of the chart repository and that action fails as there is no such branch.
I was able to work around the issue by renaming the main branch in the github repo back to master, creating a clone of this revised repo and then running the jenkins job. Now the jenkins job successfully completes.
Can the jenkins job be made to utilize either master or main as appropriate?
While following over I noticed that Redis chart used in the book tutorial is available when I tried to download the chart dependencies.
The error will appear like below:
[root@ks-master-0 helm_work_area]# helm dependency build Learn-Helm/helm-charts/charts/guestbook/ Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "learnhelm" chart repository ...Successfully got an update from the "bitnami" chart repository ...Successfully got an update from the "bitnami-pre-2022" chart repository Update Complete. ⎈Happy Helming!⎈ Saving 1 charts Save error occurred: could not find : no matching version Error: could not find : no matching version
As per the Carlos comment here bitnami/charts#10545 (comment)
we need to adjust dependencies repository URL to be like beow:
dependencies:
- name: redis
version: 10.5.x
repository: https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami
The book specifies, in Chapter 7 pg 228, to start up jenkins from the codecentric/jenkins chart
This chart, as shown by the README at https://github.com/codecentric/helm-charts/tree/master/charts/jenkins
has now been deprecated. When I attempted to access the 1.7.0 version of the chart yesterday, it was not deprecated but the version of jenkins it brought up was not current enough to allow the needed plugins to be installed.
When I specify the install of the bitnami jenkins chart instead of the codecentric chart, a jenkins pod starts. However, I have not figured out how to bring up the GUI as the only service in the chapter7 namespace is LoadBalancer.
Not sure if this is the appropriate venue to report the problem but thought it could be a starting point
I installed the latest version of operator-sdk (v1.3.0) for performing the tasks from chapter 8 of Learn Helm and discovered a issue
The "oerator-sdk new" command specified in the "Scaffolding the operator file structure" section of Chapter 8 is no longer available in the operator-sdk application starting with versions 1.0.
It would appear that one should now be creating a helm operator as per
https://sdk.operatorframework.io/docs/building-operators/helm/tutorial/
Do you have an update for the chapter 8 procedure when using the newer version of the operator-sdk application?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.