-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
782 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v2 | ||
name: sno-helm-charts | ||
description: Helm chart to deploy factory components to SNO | ||
type: application | ||
version: 0.0.1 | ||
appVersion: "1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
kind: Namespace | ||
apiVersion: v1 | ||
metadata: | ||
name: {{ .Values.amqbroker.namespace }} | ||
--- | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: amq-broker | ||
namespace: {{ .Values.amqbroker.namespace }} | ||
spec: | ||
channel: current | ||
installPlanApproval: Automatic | ||
name: amq-broker | ||
source: redhat-operators | ||
sourceNamespace: openshift-marketplace | ||
startingCSV: {{ .Values.amqbroker.startingCSV }} | ||
--- | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
name: {{ .Values.amqbroker.namespace }} | ||
namespace: {{ .Values.amqbroker.namespace }} | ||
spec: | ||
targetNamespaces: | ||
- {{ .Values.amqbroker.namespace }} | ||
--- | ||
apiVersion: broker.amq.io/v2alpha4 | ||
kind: ActiveMQArtemis | ||
metadata: | ||
name: {{ .Values.amqbroker.brokerName }} | ||
application: {{ .Values.amqbroker.brokerName }} | ||
namespace: {{ .Values.amqbroker.namespace }} | ||
spec: | ||
adminPassword: {{ .Values.amqbroker.adminPassword }} | ||
deploymentPlan: | ||
size: {{ .Values.amqbroker.size }} | ||
persistenceEnabled: false | ||
requireLogin: false | ||
messageMigration: false | ||
managementRBACEnabled: true | ||
journalType: nio | ||
jolokiaAgentEnabled: false | ||
image: placeholder | ||
adminUser: {{ .Values.amqbroker.adminUser }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
kind: Namespace | ||
apiVersion: v1 | ||
metadata: | ||
name: {{ .Values.amqbroker.namespace }} |
8 changes: 8 additions & 0 deletions
8
charts/sno-helm-charts/templates/amq-broker-operatorgroup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
name: {{ .Values.amqbroker.namespace }} | ||
namespace: {{ .Values.amqbroker.namespace }} | ||
spec: | ||
targetNamespaces: | ||
- {{ .Values.amqbroker.namespace }} |
12 changes: 12 additions & 0 deletions
12
charts/sno-helm-charts/templates/amq-broker-subscription.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: amq-broker | ||
namespace: {{ .Values.amqbroker.namespace }} | ||
spec: | ||
channel: current | ||
installPlanApproval: Automatic | ||
name: amq-broker | ||
source: redhat-operators | ||
sourceNamespace: openshift-marketplace | ||
startingCSV: {{ .Values.amqbroker.startingCSV }} |
160 changes: 160 additions & 0 deletions
160
charts/sno-helm-charts/templates/gitops-appproject.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
kind: Namespace | ||
apiVersion: v1 | ||
metadata: | ||
name: openshift-gitops | ||
labels: | ||
project: openshift-gitops | ||
--- | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: openshift-gitops-operator | ||
namespace: openshift-operators | ||
spec: | ||
channel: stable | ||
installPlanApproval: Automatic | ||
name: openshift-gitops-operator | ||
source: redhat-operators | ||
sourceNamespace: openshift-marketplace | ||
startingCSV: {{ .Values.gitops.startingCSV }} | ||
--- | ||
{{ if .Values.gitops.clusterAdminController }} | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: argocd-application-controller-cluster-admin | ||
subjects: | ||
- kind: ServiceAccount | ||
name: argocd-application-controller | ||
namespace: openshift-gitops | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: cluster-admin | ||
{{ end }} | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: AppProject | ||
metadata: | ||
name: cluster-config | ||
namespace: openshift-gitops | ||
spec: | ||
clusterResourceWhitelist: | ||
- group: '*' | ||
kind: '*' | ||
destinations: | ||
- namespace: '*' | ||
server: '*' | ||
sourceRepos: | ||
- '*' | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: ArgoCD | ||
metadata: | ||
name: openshift-gitops | ||
namespace: openshift-gitops | ||
spec: | ||
server: | ||
autoscale: | ||
enabled: false | ||
grpc: | ||
ingress: | ||
enabled: false | ||
ingress: | ||
enabled: false | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 256Mi | ||
requests: | ||
cpu: 125m | ||
memory: 128Mi | ||
route: | ||
enabled: true | ||
service: | ||
type: '' | ||
grafana: | ||
enabled: false | ||
ingress: | ||
enabled: false | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 256Mi | ||
requests: | ||
cpu: 250m | ||
memory: 128Mi | ||
route: | ||
enabled: false | ||
prometheus: | ||
enabled: false | ||
ingress: | ||
enabled: false | ||
route: | ||
enabled: false | ||
initialSSHKnownHosts: {} | ||
applicationSet: | ||
resources: | ||
limits: | ||
cpu: '2' | ||
memory: 1Gi | ||
requests: | ||
cpu: 250m | ||
memory: 512Mi | ||
rbac: {} | ||
repo: | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: 1Gi | ||
requests: | ||
cpu: 250m | ||
memory: 256Mi | ||
resourceExclusions: | | ||
- apiGroups: | ||
- tekton.dev | ||
clusters: | ||
- '*' | ||
kinds: | ||
- TaskRun | ||
- PipelineRun | ||
dex: | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 256Mi | ||
requests: | ||
cpu: 250m | ||
memory: 128Mi | ||
ha: | ||
enabled: false | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 256Mi | ||
requests: | ||
cpu: 250m | ||
memory: 128Mi | ||
tls: | ||
ca: {} | ||
redis: | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 256Mi | ||
requests: | ||
cpu: 250m | ||
memory: 128Mi | ||
controller: | ||
processors: {} | ||
resources: | ||
limits: | ||
cpu: '1' | ||
memory: 2Gi | ||
requests: | ||
cpu: 250m | ||
memory: 1Gi | ||
initialRepositories: | | ||
- name: cluster-config | ||
type: git | ||
url: {{ .Values.gitops.initialRepository }} |
Oops, something went wrong.