10 changed files with 70 additions and 32 deletions
@ -0,0 +1,2 @@ |
|||
sso: |
|||
hostname: "sso-demo-apimgmt.apps.appdev.itix.xyz" |
|||
@ -0,0 +1,21 @@ |
|||
apiVersion: argoproj.io/v1alpha1 |
|||
kind: Application |
|||
metadata: |
|||
name: demo-apimgmt-infra |
|||
namespace: openshift-gitops |
|||
spec: |
|||
destination: |
|||
name: '' |
|||
server: 'https://kubernetes.default.svc' |
|||
source: |
|||
path: infrastructure |
|||
repoURL: 'https://github.com/nmasse-itix/demo-apimgmt.git' |
|||
targetRevision: gitops |
|||
helm: |
|||
valueFiles: |
|||
- infrastructure-values.yaml |
|||
project: default |
|||
syncPolicy: |
|||
automated: |
|||
prune: true |
|||
selfHeal: false |
|||
@ -0,0 +1,5 @@ |
|||
apiVersion: v2 |
|||
name: infrastructure |
|||
type: application |
|||
version: 0.0.1 |
|||
appVersion: "0.0.1" |
|||
@ -0,0 +1,12 @@ |
|||
apiVersion: project.openshift.io/v1 |
|||
kind: Project |
|||
metadata: |
|||
annotations: |
|||
argocd.argoproj.io/sync-wave: "0" |
|||
openshift.io/display-name: "Demo API Management" |
|||
labels: |
|||
kubernetes.io/metadata.name: {{ projectName | quote }} |
|||
name: {{ projectName | quote }} |
|||
spec: |
|||
finalizers: |
|||
- kubernetes |
|||
@ -0,0 +1,3 @@ |
|||
sso: |
|||
hostname: "" |
|||
projectName: demo-apimgmt |
|||
@ -0,0 +1,21 @@ |
|||
apiVersion: rbac.authorization.k8s.io/v1 |
|||
kind: ClusterRole |
|||
metadata: |
|||
name: demo-apimgmt-gitops |
|||
rules: |
|||
- apiGroups: ["project.openshift.io"] |
|||
resources: ["projects"] |
|||
verbs: ["*"] |
|||
--- |
|||
kind: ClusterRoleBinding |
|||
apiVersion: rbac.authorization.k8s.io/v1 |
|||
metadata: |
|||
name: demo-apimgmt-gitops |
|||
subjects: |
|||
- kind: ServiceAccount |
|||
name: openshift-gitops-argocd-application-controller |
|||
namespace: openshift-gitops |
|||
roleRef: |
|||
apiGroup: rbac.authorization.k8s.io |
|||
kind: ClusterRole |
|||
name: demo-apimgmt-gitops |
|||
Loading…
Reference in new issue