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