Specification:
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
kind: Kustomization
metadata:
name: backend
spec:
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: caddy-config | |
namespace: openfaas | |
labels: | |
app: caddy | |
data: | |
Caddyfile: | | |
sub.mydomain.com { |
package main | |
import ( | |
"crypto/x509" | |
"encoding/pem" | |
"errors" | |
"fmt" | |
"golang.org/x/crypto/ssh" | |
"io/ioutil" | |
"net" |
apiVersion: v1 | |
items: | |
- apiVersion: source.toolkit.fluxcd.io/v1 | |
kind: GitRepository | |
metadata: | |
creationTimestamp: "2023-04-13T13:12:31Z" | |
finalizers: | |
- finalizers.fluxcd.io | |
generation: 1 | |
labels: |
############################################# | |
## | |
## PostgreSQL base backup automation | |
## Author: Stefan Prodan | |
## Date : 20 Oct 2014 | |
## Company: VeriTech.io | |
############################################# | |
# path settings | |
$BackupRoot = 'C:\Database\Backup'; |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: weave-gitops-external | |
namespace: flux-system | |
spec: | |
ports: | |
- name: http-web | |
port: 80 |
################################################################################# | |
## | |
## PostgreSQL unattended install | |
## Author: Stefan Prodan | |
## Date : 16 Oct 2014 | |
## Company: VeriTech.io | |
################################################################################ | |
Function Install-Postgres | |
{ |
#!/usr/bin/env python | |
# | |
# Copyright (c) 2016, PagerDuty, Inc. <info@pagerduty.com> | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright |