fleet/docs/Using-Fleet/configuration-files/kubernetes/fleet-deployment.yml
eashaw 0af5e161d0
Remove numbers from documentation filenames in Fleet repo (#4313)
* Renaming files and a lot of find and replace

* pageRank meta tags, sorting by page rank

* reranking

* removing numbers

* revert changing links that are locked to a commit

* update metatag name, uncomment github contributers

* Update basic-documentation.page.js

* revert link change

* more explicit errors, change pageOrderInSection numbers, updated sort

* Update build-static-content.js

* update comment

* update handbook link

* handbook entry

* update sort

* update changelog doc links to use fleetdm.com

* move standard query library back to old location, update links/references to location

* revert unintentional link changes

* Update handbook/community.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-02-23 12:17:55 -06:00

51 lines
1.4 KiB
YAML

apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: fleet-webserver
labels:
app: fleet-webserver
spec:
replicas: 2
selector:
matchLabels:
app: fleet-webserver
template:
metadata:
labels:
app: fleet-webserver
spec:
volumes:
- name: fleet-tls
secret:
secretName: fleet-tls
containers:
- name: fleet-webserver
image: fleetdm/fleet:4.0.1
command: ["fleet", "serve"]
ports:
- containerPort: 443
volumeMounts:
- name: fleet-tls
mountPath: "/secrets/fleet-tls"
readOnly: true
env:
- name: FLEET_MYSQL_ADDRESS
value: fleet-database-mysql:3306
- name: FLEET_MYSQL_PASSWORD
valueFrom:
secretKeyRef:
name: fleet-database-mysql
key: mysql-password
- name: FLEET_REDIS_ADDRESS
value: fleet-cache-redis:6379
- name: FLEET_REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: fleet-cache-redis
key: redis-password
- name: FLEET_SERVER_ADDRESS
value: "0.0.0.0:443"
- name: FLEET_SERVER_CERT
value: "/secrets/fleet-tls/tls.crt"
- name: FLEET_SERVER_KEY
value: "/secrets/fleet-tls/tls.key"