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

Feature/Initialize the solution #1

Merged
merged 41 commits into from
Sep 3, 2024
Merged

Feature/Initialize the solution #1

merged 41 commits into from
Sep 3, 2024

Conversation

devpro
Copy link
Collaborator

@devpro devpro commented Aug 28, 2024

Changes:

  • Initialize the repository with a README, editorconfig, markdownlint, a minimalist CI pipeline
  • Scripts to create a K3s cluster, install Rancher, create a custom downstream cluster from Rancher

Validation:

  • Rancher Playground Track

@devpro devpro requested a review from hierynomus August 28, 2024 13:24
@devpro devpro marked this pull request as ready for review September 2, 2024 15:28
@devpro devpro changed the title WIP Initialize the solution Initialize the solution Sep 2, 2024
@devpro devpro changed the title Initialize the solution Feature/Initialize the solution Sep 2, 2024
local emailAddress=$2

echo "Creating certificate issuers using Let's Encrypt..."
helm repo add devpro https://devpro.github.io/helm-charts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one we might want to move at some point in time

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! Added a TODO, really need to do this one (as for the container images)


verify_system() {
info 'Verify system requirements'
if [ -x /usr/bin/git ] || type git > /dev/null 2>&1; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should also verify jq present as a lot of commands depend on it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks

--set hostname=${hostname} \
--set ingress.extraAnnotations.'cert-manager\.io/cluster-issuer'=${clusterissuer} \
--set ingress.tls.source=secret \
--set ingress.tls.secretName=rancher-tls
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For v2.9.1 we need to also pass

  --set agentTLSMode="system-store"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added. Thanks!

@devpro
Copy link
Collaborator Author

devpro commented Sep 3, 2024

Latest version of the scripts just validated on Rancher playground track

@devpro devpro merged commit 8b8cc38 into develop Sep 3, 2024
1 check passed
@devpro devpro deleted the feature/init-solution branch September 3, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants