From 298e1501e94e177951e1f8d1357e88d896356b0a Mon Sep 17 00:00:00 2001 From: Rokibul Hasan Date: Thu, 7 Nov 2024 12:43:50 +0600 Subject: [PATCH] Update flux2 values (#1) Signed-off-by: Rokibul Hasan --- pkg/featuresets/opscenter-core/aceshifter.yaml | 4 ++++ pkg/featuresets/opscenter-core/flux2.yaml | 7 +++++++ .../opscenter-cost/{keda => }/keda-add-ons-http.yaml | 0 pkg/featuresets/opscenter-cost/{keda => }/keda.yaml | 0 .../{opencost => }/opencost-grafana-dashboards.yaml | 0 .../opscenter-cost/{opencost => }/opencost.yaml | 0 .../{monitoring => }/grafana-operator.yaml | 0 .../opscenter-observability/{inbox => }/inbox-agent.yaml | 0 .../opscenter-observability/{inbox => }/inbox-server.yaml | 0 .../opscenter-observability/{inbox => }/inbox-ui.yaml | 0 .../{monitoring => }/kube-grafana-dashboards.yaml | 0 .../{monitoring => }/kube-prometheus-stack.yaml | 0 .../{monitoring => }/metrics-server.yaml | 0 .../{monitoring => }/monitoring-operator.yaml | 0 .../{monitoring => }/panopticon.yaml | 0 .../{monitoring => }/prometheus-adapter.yaml | 0 .../{gatekeeper => }/gatekeeper-constraints.yaml | 0 .../{gatekeeper => }/gatekeeper-dashboards.yaml | 0 .../{gatekeeper => }/gatekeeper-templates.yaml | 0 .../{gatekeeper => }/gatekeeper.yaml | 0 .../{kyverno => }/kyverno-policies.yaml | 0 .../opscenter-policy-management/{kyverno => }/kyverno.yaml | 0 .../csi-secrets-store-provider-aws.yaml | 0 .../csi-secrets-store-provider-azure.yaml | 0 .../csi-secrets-store-provider-gcp.yaml | 0 .../csi-secrets-store-provider-vault.yaml | 0 .../{kubevault => }/kubevault-opscenter.yaml | 0 .../{kubevault => }/kubevault.yaml | 0 .../secrets-store-csi-driver.yaml | 0 .../cert-manager-csi-driver-cacerts.yaml | 0 .../{cert-manager => }/cert-manager.yaml | 0 .../opscenter-security/{falco => }/falco-ui-server.yaml | 0 pkg/featuresets/opscenter-security/{falco => }/falco.yaml | 0 .../opscenter-security/{trivy => }/scanner.yaml | 0 34 files changed, 11 insertions(+) create mode 100644 pkg/featuresets/opscenter-core/aceshifter.yaml rename pkg/featuresets/opscenter-cost/{keda => }/keda-add-ons-http.yaml (100%) rename pkg/featuresets/opscenter-cost/{keda => }/keda.yaml (100%) rename pkg/featuresets/opscenter-cost/{opencost => }/opencost-grafana-dashboards.yaml (100%) rename pkg/featuresets/opscenter-cost/{opencost => }/opencost.yaml (100%) rename pkg/featuresets/opscenter-observability/{monitoring => }/grafana-operator.yaml (100%) rename pkg/featuresets/opscenter-observability/{inbox => }/inbox-agent.yaml (100%) rename pkg/featuresets/opscenter-observability/{inbox => }/inbox-server.yaml (100%) rename pkg/featuresets/opscenter-observability/{inbox => }/inbox-ui.yaml (100%) rename pkg/featuresets/opscenter-observability/{monitoring => }/kube-grafana-dashboards.yaml (100%) rename pkg/featuresets/opscenter-observability/{monitoring => }/kube-prometheus-stack.yaml (100%) rename pkg/featuresets/opscenter-observability/{monitoring => }/metrics-server.yaml (100%) rename pkg/featuresets/opscenter-observability/{monitoring => }/monitoring-operator.yaml (100%) rename pkg/featuresets/opscenter-observability/{monitoring => }/panopticon.yaml (100%) rename pkg/featuresets/opscenter-observability/{monitoring => }/prometheus-adapter.yaml (100%) rename pkg/featuresets/opscenter-policy-management/{gatekeeper => }/gatekeeper-constraints.yaml (100%) rename pkg/featuresets/opscenter-policy-management/{gatekeeper => }/gatekeeper-dashboards.yaml (100%) rename pkg/featuresets/opscenter-policy-management/{gatekeeper => }/gatekeeper-templates.yaml (100%) rename pkg/featuresets/opscenter-policy-management/{gatekeeper => }/gatekeeper.yaml (100%) rename pkg/featuresets/opscenter-policy-management/{kyverno => }/kyverno-policies.yaml (100%) rename pkg/featuresets/opscenter-policy-management/{kyverno => }/kyverno.yaml (100%) rename pkg/featuresets/opscenter-secret-management/{secrets-store-csi-driver => }/csi-secrets-store-provider-aws.yaml (100%) rename pkg/featuresets/opscenter-secret-management/{secrets-store-csi-driver => }/csi-secrets-store-provider-azure.yaml (100%) rename pkg/featuresets/opscenter-secret-management/{secrets-store-csi-driver => }/csi-secrets-store-provider-gcp.yaml (100%) rename pkg/featuresets/opscenter-secret-management/{secrets-store-csi-driver => }/csi-secrets-store-provider-vault.yaml (100%) rename pkg/featuresets/opscenter-secret-management/{kubevault => }/kubevault-opscenter.yaml (100%) rename pkg/featuresets/opscenter-secret-management/{kubevault => }/kubevault.yaml (100%) rename pkg/featuresets/opscenter-secret-management/{secrets-store-csi-driver => }/secrets-store-csi-driver.yaml (100%) rename pkg/featuresets/opscenter-security/{cert-manager => }/cert-manager-csi-driver-cacerts.yaml (100%) rename pkg/featuresets/opscenter-security/{cert-manager => }/cert-manager.yaml (100%) rename pkg/featuresets/opscenter-security/{falco => }/falco-ui-server.yaml (100%) rename pkg/featuresets/opscenter-security/{falco => }/falco.yaml (100%) rename pkg/featuresets/opscenter-security/{trivy => }/scanner.yaml (100%) diff --git a/pkg/featuresets/opscenter-core/aceshifter.yaml b/pkg/featuresets/opscenter-core/aceshifter.yaml new file mode 100644 index 0000000..b214928 --- /dev/null +++ b/pkg/featuresets/opscenter-core/aceshifter.yaml @@ -0,0 +1,4 @@ +securityContext: + runAsUser: {{ .uid }} +podSecurityContext: + fsGroup: {{ .uid }} diff --git a/pkg/featuresets/opscenter-core/flux2.yaml b/pkg/featuresets/opscenter-core/flux2.yaml index 022dadd..5db9770 100644 --- a/pkg/featuresets/opscenter-core/flux2.yaml +++ b/pkg/featuresets/opscenter-core/flux2.yaml @@ -9,21 +9,28 @@ helmController: runAsUser: {{ .uid }} seccompProfile: type: RuntimeDefault + podSecurityContext: &pcc + fsGroup: {{ .uid }} sourceController: securityContext: *scc + podSecurityContext: *pcc imageAutomationController: securityContext: *scc + podSecurityContext: *pcc imageReflectionController: securityContext: *scc + podSecurityContext: *pcc kustomizeController: securityContext: *scc + podSecurityContext: *pcc notificationController: securityContext: *scc + podSecurityContext: *pcc cli: securityContext: *scc diff --git a/pkg/featuresets/opscenter-cost/keda/keda-add-ons-http.yaml b/pkg/featuresets/opscenter-cost/keda-add-ons-http.yaml similarity index 100% rename from pkg/featuresets/opscenter-cost/keda/keda-add-ons-http.yaml rename to pkg/featuresets/opscenter-cost/keda-add-ons-http.yaml diff --git a/pkg/featuresets/opscenter-cost/keda/keda.yaml b/pkg/featuresets/opscenter-cost/keda.yaml similarity index 100% rename from pkg/featuresets/opscenter-cost/keda/keda.yaml rename to pkg/featuresets/opscenter-cost/keda.yaml diff --git a/pkg/featuresets/opscenter-cost/opencost/opencost-grafana-dashboards.yaml b/pkg/featuresets/opscenter-cost/opencost-grafana-dashboards.yaml similarity index 100% rename from pkg/featuresets/opscenter-cost/opencost/opencost-grafana-dashboards.yaml rename to pkg/featuresets/opscenter-cost/opencost-grafana-dashboards.yaml diff --git a/pkg/featuresets/opscenter-cost/opencost/opencost.yaml b/pkg/featuresets/opscenter-cost/opencost.yaml similarity index 100% rename from pkg/featuresets/opscenter-cost/opencost/opencost.yaml rename to pkg/featuresets/opscenter-cost/opencost.yaml diff --git a/pkg/featuresets/opscenter-observability/monitoring/grafana-operator.yaml b/pkg/featuresets/opscenter-observability/grafana-operator.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/monitoring/grafana-operator.yaml rename to pkg/featuresets/opscenter-observability/grafana-operator.yaml diff --git a/pkg/featuresets/opscenter-observability/inbox/inbox-agent.yaml b/pkg/featuresets/opscenter-observability/inbox-agent.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/inbox/inbox-agent.yaml rename to pkg/featuresets/opscenter-observability/inbox-agent.yaml diff --git a/pkg/featuresets/opscenter-observability/inbox/inbox-server.yaml b/pkg/featuresets/opscenter-observability/inbox-server.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/inbox/inbox-server.yaml rename to pkg/featuresets/opscenter-observability/inbox-server.yaml diff --git a/pkg/featuresets/opscenter-observability/inbox/inbox-ui.yaml b/pkg/featuresets/opscenter-observability/inbox-ui.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/inbox/inbox-ui.yaml rename to pkg/featuresets/opscenter-observability/inbox-ui.yaml diff --git a/pkg/featuresets/opscenter-observability/monitoring/kube-grafana-dashboards.yaml b/pkg/featuresets/opscenter-observability/kube-grafana-dashboards.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/monitoring/kube-grafana-dashboards.yaml rename to pkg/featuresets/opscenter-observability/kube-grafana-dashboards.yaml diff --git a/pkg/featuresets/opscenter-observability/monitoring/kube-prometheus-stack.yaml b/pkg/featuresets/opscenter-observability/kube-prometheus-stack.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/monitoring/kube-prometheus-stack.yaml rename to pkg/featuresets/opscenter-observability/kube-prometheus-stack.yaml diff --git a/pkg/featuresets/opscenter-observability/monitoring/metrics-server.yaml b/pkg/featuresets/opscenter-observability/metrics-server.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/monitoring/metrics-server.yaml rename to pkg/featuresets/opscenter-observability/metrics-server.yaml diff --git a/pkg/featuresets/opscenter-observability/monitoring/monitoring-operator.yaml b/pkg/featuresets/opscenter-observability/monitoring-operator.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/monitoring/monitoring-operator.yaml rename to pkg/featuresets/opscenter-observability/monitoring-operator.yaml diff --git a/pkg/featuresets/opscenter-observability/monitoring/panopticon.yaml b/pkg/featuresets/opscenter-observability/panopticon.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/monitoring/panopticon.yaml rename to pkg/featuresets/opscenter-observability/panopticon.yaml diff --git a/pkg/featuresets/opscenter-observability/monitoring/prometheus-adapter.yaml b/pkg/featuresets/opscenter-observability/prometheus-adapter.yaml similarity index 100% rename from pkg/featuresets/opscenter-observability/monitoring/prometheus-adapter.yaml rename to pkg/featuresets/opscenter-observability/prometheus-adapter.yaml diff --git a/pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper-constraints.yaml b/pkg/featuresets/opscenter-policy-management/gatekeeper-constraints.yaml similarity index 100% rename from pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper-constraints.yaml rename to pkg/featuresets/opscenter-policy-management/gatekeeper-constraints.yaml diff --git a/pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper-dashboards.yaml b/pkg/featuresets/opscenter-policy-management/gatekeeper-dashboards.yaml similarity index 100% rename from pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper-dashboards.yaml rename to pkg/featuresets/opscenter-policy-management/gatekeeper-dashboards.yaml diff --git a/pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper-templates.yaml b/pkg/featuresets/opscenter-policy-management/gatekeeper-templates.yaml similarity index 100% rename from pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper-templates.yaml rename to pkg/featuresets/opscenter-policy-management/gatekeeper-templates.yaml diff --git a/pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper.yaml b/pkg/featuresets/opscenter-policy-management/gatekeeper.yaml similarity index 100% rename from pkg/featuresets/opscenter-policy-management/gatekeeper/gatekeeper.yaml rename to pkg/featuresets/opscenter-policy-management/gatekeeper.yaml diff --git a/pkg/featuresets/opscenter-policy-management/kyverno/kyverno-policies.yaml b/pkg/featuresets/opscenter-policy-management/kyverno-policies.yaml similarity index 100% rename from pkg/featuresets/opscenter-policy-management/kyverno/kyverno-policies.yaml rename to pkg/featuresets/opscenter-policy-management/kyverno-policies.yaml diff --git a/pkg/featuresets/opscenter-policy-management/kyverno/kyverno.yaml b/pkg/featuresets/opscenter-policy-management/kyverno.yaml similarity index 100% rename from pkg/featuresets/opscenter-policy-management/kyverno/kyverno.yaml rename to pkg/featuresets/opscenter-policy-management/kyverno.yaml diff --git a/pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-aws.yaml b/pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-aws.yaml similarity index 100% rename from pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-aws.yaml rename to pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-aws.yaml diff --git a/pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-azure.yaml b/pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-azure.yaml similarity index 100% rename from pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-azure.yaml rename to pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-azure.yaml diff --git a/pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-gcp.yaml b/pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-gcp.yaml similarity index 100% rename from pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-gcp.yaml rename to pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-gcp.yaml diff --git a/pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-vault.yaml b/pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-vault.yaml similarity index 100% rename from pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/csi-secrets-store-provider-vault.yaml rename to pkg/featuresets/opscenter-secret-management/csi-secrets-store-provider-vault.yaml diff --git a/pkg/featuresets/opscenter-secret-management/kubevault/kubevault-opscenter.yaml b/pkg/featuresets/opscenter-secret-management/kubevault-opscenter.yaml similarity index 100% rename from pkg/featuresets/opscenter-secret-management/kubevault/kubevault-opscenter.yaml rename to pkg/featuresets/opscenter-secret-management/kubevault-opscenter.yaml diff --git a/pkg/featuresets/opscenter-secret-management/kubevault/kubevault.yaml b/pkg/featuresets/opscenter-secret-management/kubevault.yaml similarity index 100% rename from pkg/featuresets/opscenter-secret-management/kubevault/kubevault.yaml rename to pkg/featuresets/opscenter-secret-management/kubevault.yaml diff --git a/pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/secrets-store-csi-driver.yaml b/pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver.yaml similarity index 100% rename from pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver/secrets-store-csi-driver.yaml rename to pkg/featuresets/opscenter-secret-management/secrets-store-csi-driver.yaml diff --git a/pkg/featuresets/opscenter-security/cert-manager/cert-manager-csi-driver-cacerts.yaml b/pkg/featuresets/opscenter-security/cert-manager-csi-driver-cacerts.yaml similarity index 100% rename from pkg/featuresets/opscenter-security/cert-manager/cert-manager-csi-driver-cacerts.yaml rename to pkg/featuresets/opscenter-security/cert-manager-csi-driver-cacerts.yaml diff --git a/pkg/featuresets/opscenter-security/cert-manager/cert-manager.yaml b/pkg/featuresets/opscenter-security/cert-manager.yaml similarity index 100% rename from pkg/featuresets/opscenter-security/cert-manager/cert-manager.yaml rename to pkg/featuresets/opscenter-security/cert-manager.yaml diff --git a/pkg/featuresets/opscenter-security/falco/falco-ui-server.yaml b/pkg/featuresets/opscenter-security/falco-ui-server.yaml similarity index 100% rename from pkg/featuresets/opscenter-security/falco/falco-ui-server.yaml rename to pkg/featuresets/opscenter-security/falco-ui-server.yaml diff --git a/pkg/featuresets/opscenter-security/falco/falco.yaml b/pkg/featuresets/opscenter-security/falco.yaml similarity index 100% rename from pkg/featuresets/opscenter-security/falco/falco.yaml rename to pkg/featuresets/opscenter-security/falco.yaml diff --git a/pkg/featuresets/opscenter-security/trivy/scanner.yaml b/pkg/featuresets/opscenter-security/scanner.yaml similarity index 100% rename from pkg/featuresets/opscenter-security/trivy/scanner.yaml rename to pkg/featuresets/opscenter-security/scanner.yaml