diff --git a/infrastructure.yaml b/infrastructure.yaml index e7deaa1..01e5acc 100644 --- a/infrastructure.yaml +++ b/infrastructure.yaml @@ -12,8 +12,11 @@ spec: repoURL: 'https://github.com/nmasse-itix/demo-apimgmt.git' targetRevision: gitops helm: - valueFiles: + valueFiles: - ../infrastructure-values.yaml + parameters: + - name: masterKey + value: my-secret-value project: default syncPolicy: automated: diff --git a/openshift-gitops.yaml b/openshift-gitops.yaml index e93a7c7..8716207 100644 --- a/openshift-gitops.yaml +++ b/openshift-gitops.yaml @@ -4,11 +4,26 @@ metadata: name: demo-apimgmt-gitops rules: - apiGroups: [""] - resources: ["secrets"] + resources: ["secrets","services","pvc"] verbs: ["*"] - apiGroups: ["project.openshift.io"] resources: ["projects"] 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"] resources: ["keycloaks"] verbs: ["*"]