Skip to content

Commit

Permalink
make test
Browse files Browse the repository at this point in the history
  • Loading branch information
day0hero committed Jul 31, 2023
1 parent a72f2d3 commit 057001f
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8222,6 +8222,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8280,6 +8282,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8326,6 +8330,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8076,6 +8076,59 @@ metadata:
app.kubernetes.io/name: external-secrets
app.kubernetes.io/instance: common-golang-external-secrets
app.kubernetes.io/version: "v0.8.5"
app.kubernetes.io/managed-by: Helm
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: common-golang-external-secrets-controller
subjects:
- name: common-golang-external-secrets
namespace: "default"
kind: ServiceAccount
---
# Source: golang-external-secrets/templates/golang-external-secrets-hub-clusterrolebinding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: role-tokenreview-binding
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:auth-delegator
subjects:
- kind: ServiceAccount
name: golang-external-secrets
namespace: golang-external-secrets
---
# Source: golang-external-secrets/charts/external-secrets/templates/rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: common-golang-external-secrets-leaderelection
namespace: "default"
labels:
helm.sh/chart: external-secrets-0.8.5
app.kubernetes.io/name: external-secrets
app.kubernetes.io/instance: common-golang-external-secrets
app.kubernetes.io/version: "v0.8.5"
app.kubernetes.io/managed-by: Helm
rules:
- apiGroups:
- ""
resources:
- "configmaps"
resourceNames:
- "external-secrets-controller"
verbs:
- "get"
- "update"
- "patch"
- apiGroups:
- ""
resources:
- "configmaps"
verbs:
- "create"
- apiGroups:
- "coordination.k8s.io"
Expand Down Expand Up @@ -8169,6 +8222,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8227,6 +8282,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8273,6 +8330,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8222,6 +8222,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8280,6 +8282,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8326,6 +8330,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down
6 changes: 6 additions & 0 deletions tests/common-golang-external-secrets-naked.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8222,6 +8222,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8280,6 +8282,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8326,6 +8330,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down
6 changes: 6 additions & 0 deletions tests/common-golang-external-secrets-normal.expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8222,6 +8222,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8280,6 +8282,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down Expand Up @@ -8326,6 +8330,8 @@ spec:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
image: "ghcr.io/external-secrets/external-secrets:v0.8.5-ubi"
imagePullPolicy: IfNotPresent
args:
Expand Down

0 comments on commit 057001f

Please sign in to comment.