Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some security tweaks for k8s deployment example #119

Merged
merged 2 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/examples/deploy/k8s/003-migrator-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
app.kubernetes.io/name: archived-migrator
app.kubernetes.io/app: archived-migrator
spec:
automountServiceAccountToken: false
containers:
- name: migrator
image: ghcr.io/teran/archived/migrator:latest
Expand All @@ -27,4 +28,10 @@ spec:
key: uri
- name: LOG_LEVEL
value: "trace"
resources:
requests:
cpu: 10m
memory: 128Mi
limits:
memory: 256Mi
restartPolicy: OnFailure
1 change: 1 addition & 0 deletions docs/examples/deploy/k8s/archived-exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ spec:
- archived-exporter
topologyKey: "kubernetes.io/node"
terminationGracePeriodSeconds: 30
automountServiceAccountToken: false
containers:
- name: exporter
image: ghcr.io/teran/archived/exporter:latest
Expand Down
1 change: 1 addition & 0 deletions docs/examples/deploy/k8s/archived-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ spec:
- archived-manager
topologyKey: "kubernetes.io/node"
terminationGracePeriodSeconds: 30
automountServiceAccountToken: false
containers:
- name: manager
image: ghcr.io/teran/archived/manager:latest
Expand Down
1 change: 1 addition & 0 deletions docs/examples/deploy/k8s/archived-publisher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ spec:
- archived-publisher
topologyKey: "kubernetes.io/node"
terminationGracePeriodSeconds: 30
automountServiceAccountToken: false
containers:
- name: publisher
image: ghcr.io/teran/archived/publisher:latest
Expand Down
Loading