Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 0761ec9f authored by Natalia Szakiel's avatar Natalia Szakiel
Browse files

Merge branch 'feature/issuer-change' into 'develop'

Feature/issuer change

See merge request !12
parents ac7672a2 d1b1d04c
No related branches found
No related tags found
4 merge requests!48Develop,!46Develop,!24Feature/git merging fix,!12Feature/issuer change
......@@ -206,6 +206,15 @@ metadata:
spec:
selfSigned: {}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: issuer-reader
rules:
- apiGroups: ["cert-manager.io"]
resources: ["issuers"]
verbs: ["get", "list", "watch"]
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
......
......@@ -110,6 +110,25 @@ data:
count=$((count + 1))
done
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: filebeat
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: filebeat-issuer
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: issuer-reader
subjects:
- kind: ServiceAccount
name: filebeat
namespace: {{ .Release.Namespace }}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
......@@ -123,4 +142,7 @@ spec:
- "{{ template "filebeat.dns" . }}"
issuerRef:
name: internal-issuer
kind: Issuer
\ No newline at end of file
kind: Issuer
group: cert-manager.io
---
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment