Nicolas Massé 3 years ago
parent
commit
0a947c4f58
  1. 5
      infrastructure.yaml
  2. 17
      openshift-gitops.yaml

5
infrastructure.yaml

@ -12,8 +12,11 @@ spec:
repoURL: 'https://github.com/nmasse-itix/demo-apimgmt.git' repoURL: 'https://github.com/nmasse-itix/demo-apimgmt.git'
targetRevision: gitops targetRevision: gitops
helm: helm:
valueFiles: valueFiles:
- ../infrastructure-values.yaml - ../infrastructure-values.yaml
parameters:
- name: masterKey
value: my-secret-value
project: default project: default
syncPolicy: syncPolicy:
automated: automated:

17
openshift-gitops.yaml

@ -4,11 +4,26 @@ metadata:
name: demo-apimgmt-gitops name: demo-apimgmt-gitops
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["secrets"] resources: ["secrets","services","pvc"]
verbs: ["*"] verbs: ["*"]
- apiGroups: ["project.openshift.io"] - apiGroups: ["project.openshift.io"]
resources: ["projects"] resources: ["projects"]
verbs: ["*"] verbs: ["*"]
- apiGroups: ["project.openshift.io"]
resources: ["projects"]
verbs: ["*"]
- apiGroups: ["image.openshift.io"]
resources: ["imagestreams"]
verbs: ["*"]
- apiGroups: ["route.openshift.io"]
resources: ["routes","routes/custom-host"]
verbs: ["*"]
- apiGroups: ["apps.openshift.io"]
resources: ["deploymentconfigs"]
verbs: ["*"]
- apiGroups: ["build.openshift.io"]
resources: ["buildconfigs"]
verbs: ["*"]
- apiGroups: ["keycloak.org"] - apiGroups: ["keycloak.org"]
resources: ["keycloaks"] resources: ["keycloaks"]
verbs: ["*"] verbs: ["*"]

Loading…
Cancel
Save