Add forgotten file
This commit is contained in:
parent
232cd4de5d
commit
24d977621b
1 changed files with 15 additions and 4 deletions
|
|
@ -19,9 +19,21 @@ spec:
|
|||
containers:
|
||||
- name: sablier
|
||||
image: acouvreur/sablier:1.7.0
|
||||
args: ["start", "--provider.name=kubernetes"]
|
||||
args: ["start", "--provider.name=kubernetes", "--storage.file=/dev/shm/state.json"]
|
||||
ports:
|
||||
- containerPort: 10000
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop: [ALL]
|
||||
readOnlyRootFilesystem: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
securityContext:
|
||||
runAsGroup: 65532
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65532
|
||||
# --configFile=path/to/myconfigfile.yml
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
@ -39,7 +51,6 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: sablier
|
||||
namespace: {{ traefik_namespace }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
|
|
@ -87,7 +98,7 @@ subjects:
|
|||
name: sablier
|
||||
namespace: {{ traefik_namespace }}
|
||||
#---
|
||||
#apiVersion: traefik.containo.us/v1alpha1
|
||||
#apiVersion: traefik.io/v1alpha1
|
||||
#kind: Middleware
|
||||
#metadata:
|
||||
# name: ondemand
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue