File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
src/main/groovy/com/cloudogu/gitops Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ That's why we need to initialize our local cluster with some netpols for everyth
589589After the cluster is initialized and before GOP is applied, do the following:
590590
591591```bash
592- # When using harbor, do teh same for namespace harbor
592+ # When using harbor, do the same for namespace harbor
593593k apply -f- <<EOF
594594kind: NetworkPolicy
595595apiVersion: networking.k8s.io/v1
Original file line number Diff line number Diff line change @@ -2,6 +2,31 @@ package com.cloudogu.gitops
22
33import groovy.util.logging.Slf4j
44
5+ /**
6+ * A single tool to be deployed by GOP.
7+ *
8+ * Typically, this is a helm chart (see {@link com.cloudogu.gitops.features.deployment.DeploymentStrategy} and
9+ * {@code downloadHelmCharts.sh }) with its own section in the config
10+ * (see {@link com.cloudogu.gitops.config.schema.Schema#features}).<br /><br />
11+ *
12+ * In the config, features typically set their default helm chart coordinates and provide options to
13+ * <ul >
14+ * <li >configure images</li>
15+ * <li >overwrite default helm values</li>
16+ * </ul><br />
17+ *
18+ * In addition to their own config, features react to several generic GOP config options.<br />
19+ * Here are some typical examples:
20+ * <ul >
21+ * <li >Mirror the Helm Chart: {@link com.cloudogu.gitops.config.schema.Schema.ApplicationSchema#mirrorRepos} see {@link com.cloudogu.gitops.utils.AirGappedUtils#mirrorHelmRepoToGit(java.util.Map)} </li>
22+ * <li >Create Image Pull Secrets: {@link com.cloudogu.gitops.config.schema.Schema.RegistrySchema#createImagePullSecrets} see {@link FeatureWithImage}</li>
23+ * <li >Install with Network Policies: {@link com.cloudogu.gitops.config.schema.Schema.ApplicationSchema#netpols}</li>
24+ * <li >Install with Resource requests + limits: {@link com.cloudogu.gitops.config.schema.Schema.ApplicationSchema#podResources}</li>
25+ * <li >Install without CRDs: {@link com.cloudogu.gitops.config.schema.Schema.ApplicationSchema#skipCrds}</li>
26+ * <li >For apps with UI: Setting {@link com.cloudogu.gitops.config.schema.Schema.ApplicationSchema#username} and {@link com.cloudogu.gitops.config.schema.Schema.ApplicationSchema#password}</li>
27+ * </ul>
28+ */
29+
530@Slf4j
631abstract class Feature {
732
You can’t perform that action at this time.
0 commit comments