Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Fix operator_configs issues reported by yamllint (#179)
Browse files Browse the repository at this point in the history
Resolves: #178

Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi authored Oct 13, 2023
1 parent 2ab997c commit 3f57e50
Show file tree
Hide file tree
Showing 26 changed files with 52 additions and 55 deletions.
4 changes: 2 additions & 2 deletions operator_configs/clevis/clevis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ spec:
app: clevis
spec:
containers:
- name: clevis
image: sarroutbi/fedora_clevis:latest
- name: clevis
image: sarroutbi/fedora_clevis:latest
3 changes: 1 addition & 2 deletions operator_configs/fedora/daemons_v1alpha1_tangserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ metadata:
name: tangserver-fedora
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
# Add fields here
replicas: 1
image: "docker.io/sarroutbi/fedora_tang_server"
version: "latest"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: tangserver
namespace: jpm
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
# Add fields here
replicas: 1
Expand Down
3 changes: 1 addition & 2 deletions operator_configs/main/daemons_v1alpha1_tangserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ metadata:
name: tangserver
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
# Add fields here
replicas: 1
image: "registry.redhat.io/rhel9/tang"
version: "latest"
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ metadata:
name: tangserver
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
# Add fields here
keyPath: /var/db
replicas: 1
image: "docker.io/sarroutbi/ubi_tang_server"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-executor
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ roleRef:
kind: ClusterRole
name: pod-reader-executor
subjects:
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 1
hiddenKeys: []
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-executor
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ roleRef:
kind: ClusterRole
name: pod-reader-executor
subjects:
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 3
hiddenKeys: []
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-executor
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ roleRef:
kind: ClusterRole
name: pod-reader-executor
subjects:
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 3
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-executor
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ roleRef:
kind: ClusterRole
name: pod-reader-executor
subjects:
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 1
keyrefreshinterval: 5
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-executor
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ roleRef:
kind: ClusterRole
name: pod-reader-executor
subjects:
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 1
hiddenKeys:
- sha1: c4yrNFRUGsjIIu4I6S2XGk4MXvs
- sha1: "c4yrNFRUGsjIIu4I6S2XGk4MXvs"
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: pod-reader-executor
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
- apiGroups: [""] # "" indicates the core API group
resources: ["pods", "pods/log", "pods/exec", "pods/status"]
verbs: ["get", "watch", "list", "create", "update"]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ roleRef:
kind: ClusterRole
name: pod-reader-executor
subjects:
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
- kind: ServiceAccount
name: tang-operator-controller-manager
namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
name: tangserver-mini-multi
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 3
2 changes: 1 addition & 1 deletion operator_configs/minimal/daemons_v1alpha1_tangserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ metadata:
name: tangserver-mini
namespace: nbde
finalizers:
- finalizer.daemons.tangserver.redhat.com
- finalizer.daemons.tangserver.redhat.com
spec:
replicas: 1

0 comments on commit 3f57e50

Please sign in to comment.