docker_app/k8s/wikijs/k8s.sh

11 lines
267 B
Bash

#!/bin/env bash
# 0. namespace
# 1. define resource
kubectl apply -f wikijs-config.yaml configmap/postgres-config
# 2. define secret
kubectl apply -f wikijs-secret.yaml secret/postgres
# 3. Deploy the Service and Wiki.js application
# 4. apply access from outside