intiial exernal secrets helm deployment (it won't work...)
This commit is contained in:
34
cluster/external-secrets.yaml
Normal file
34
cluster/external-secrets.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: external-secrets
|
||||||
|
namespace: openshift-gitops
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
name: in-cluster
|
||||||
|
namespace: external-secrets
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
path: cluster/external-secrets
|
||||||
|
repoURL: git@github.com:rblundon/homelab.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- RespectIgnoreDifferences=true
|
||||||
|
- CreateNamespace=true
|
||||||
|
managedNamespaceMetadata:
|
||||||
|
labels:
|
||||||
|
argocd.argoproj.io/managed-by: openshift-gitops
|
||||||
|
ignoreDifferences:
|
||||||
|
- group: apps
|
||||||
|
kind: Deployment
|
||||||
|
jsonPointers:
|
||||||
|
- /spec/replicas
|
||||||
30
cluster/external-secrets/Chart.yaml
Normal file
30
cluster/external-secrets/Chart.yaml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: external-secrets
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
|
||||||
|
# A chart can be either an 'application' or a 'library' chart.
|
||||||
|
#
|
||||||
|
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||||
|
# to be deployed.
|
||||||
|
#
|
||||||
|
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
||||||
|
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||||
|
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||||
|
type: application
|
||||||
|
|
||||||
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
|
# to the chart and its templates, including the app version.
|
||||||
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
|
version: 0.1.0
|
||||||
|
|
||||||
|
# This is the version number of the application being deployed. This version number should be
|
||||||
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
|
# It is recommended to use it with quotes.
|
||||||
|
appVersion: "0.16.1"
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: external-secrets
|
||||||
|
version: "0.16.1"
|
||||||
|
repository: https://charts.external-secrets.io/
|
||||||
|
condition: external-secrets.enabled
|
||||||
13
cluster/temp/cluster-secret-store.yaml
Normal file
13
cluster/temp/cluster-secret-store.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: external-secrets.io/v1beta1
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
metadata:
|
||||||
|
name: doppler-cluster
|
||||||
|
spec:
|
||||||
|
provider:
|
||||||
|
doppler:
|
||||||
|
auth:
|
||||||
|
secretRef:
|
||||||
|
dopplerToken:
|
||||||
|
name: doppler-cluster-token
|
||||||
|
key: dopplerToken
|
||||||
|
namespace: external-secrets
|
||||||
14
cluster/temp/kustomization.yaml
Normal file
14
cluster/temp/kustomization.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
commonAnnotations:
|
||||||
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
|
|
||||||
|
resources:
|
||||||
|
# Operator deployment
|
||||||
|
- namespace.yaml
|
||||||
|
- subscription.yaml
|
||||||
|
- operatorconfig.yaml
|
||||||
|
# Deploy cluster resources
|
||||||
|
- cluster-secret-store.yaml
|
||||||
14
cluster/temp/namespace.yaml
Normal file
14
cluster/temp/namespace.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
|
argocd.argoproj.io/tracking-id: 'external-secrets:/Namespace:openshift-operators/external-secrets'
|
||||||
|
name: external-secrets
|
||||||
|
labels:
|
||||||
|
argocd.argoproj.io/managed-by: openshift-gitops-operator
|
||||||
|
kubernetes.io/metadata.name: external-secrets
|
||||||
|
spec:
|
||||||
|
finalizers:
|
||||||
|
- kubernetes
|
||||||
16
cluster/temp/operatorconfig.yaml
Normal file
16
cluster/temp/operatorconfig.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: operator.external-secrets.io/v1alpha1
|
||||||
|
kind: OperatorConfig
|
||||||
|
metadata:
|
||||||
|
name: cluster
|
||||||
|
spec:
|
||||||
|
prometheus:
|
||||||
|
enabled: true
|
||||||
|
service:
|
||||||
|
port: 8080
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 96Mi
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
14
cluster/temp/subscription.yaml
Normal file
14
cluster/temp/subscription.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
apiVersion: operators.coreos.com/v1alpha1
|
||||||
|
kind: Subscription
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
operators.coreos.com/external-secrets-operator.openshift-operators: ''
|
||||||
|
name: external-secrets-operator
|
||||||
|
namespace: openshift-operators
|
||||||
|
spec:
|
||||||
|
channel: stable
|
||||||
|
installPlanApproval: Automatic
|
||||||
|
name: external-secrets-operator
|
||||||
|
source: community-operators
|
||||||
|
sourceNamespace: openshift-marketplace
|
||||||
@@ -76,11 +76,11 @@ Other needed software:
|
|||||||
- ansible
|
- ansible
|
||||||
- terraform
|
- terraform
|
||||||
|
|
||||||
## [FreeIPA](04-free-ipa/README.md) *Manual*
|
### [FreeIPA](04-free-ipa/README.md) *Manual*
|
||||||
|
|
||||||
## [Templates](05-templates/README.md) *Manual*
|
### [Templates](05-templates/README.md) *Manual*
|
||||||
|
|
||||||
## [Matchbox](06-matchbox/README.md) *Manual*
|
### [Matchbox](06-matchbox/README.md) *Manual*
|
||||||
|
|
||||||
- Downloading the Agent-based Installer
|
- Downloading the Agent-based Installer
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user