Skip to content

Commit

Permalink
Rename installApps to installBeachHeadServices
Browse files Browse the repository at this point in the history
  • Loading branch information
wahabmk committed Aug 27, 2024
1 parent 0859873 commit a5de0c3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion config/dev/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ spec:
worker:
amiID: ami-02f3416038bdb17fb
instanceType: t3.small
installApps: true
4 changes: 2 additions & 2 deletions templates/aws-standalone-cp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ To install applications into the target cluster created using Cluster API (CAPI)

**Reference:** https://fluxcd.io/flux/components/helm/helmreleases/#remote-clusters--cluster-api

This chart/template already defines the following applications under `templates/apps` which can be be installed into the target cluster by setting `.Values.installApps=true`:
This chart/template already defines the following applications under `templates/beachheadservices` which can be be installed into the target cluster by setting `.Values.installBeachHeadServices=true`:
1. cert-manager
2. nginx-ingress

**Important:** The Flux objects added to `templates/apps` to install custom applications must have the `hmc.mirantis.com/managed: "true"` label to be reconciled by HMC.
**Important:** The Flux objects added to `templates/beachheadservices` to install custom applications must have the `hmc.mirantis.com/managed: "true"` label to be reconciled by HMC.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.installApps }}
{{- if .Values.installBeachHeadServices }}
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.installApps }}
{{- if .Values.installBeachHeadServices }}
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
Expand Down
6 changes: 3 additions & 3 deletions templates/aws-standalone-cp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ worker:
k0s:
version: v1.30.2+k0s.0

# Optionally install apps defined under
# templates/apps into target cluster
installApps: false
# Optionally install applications defined under
# templates/beachheadservices into target cluster
installBeachHeadServices: true

0 comments on commit a5de0c3

Please sign in to comment.