renamed icarus mngt to hosting mngt
This commit is contained in:
1 parent
6e644f374e
commit
855ec39491
24 files changed
+52
-52
No files matched your search
+2
-2
@@ -1,12 +1,12 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: icarus-nodes-mngt
|
||||
name: hosting-mngt
|
||||
spec:
|
||||
interval: 1m
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: nodes-mngt
|
||||
namespace: chimera-limbosolutions-com
|
||||
path: deploy/icarus-mngt
|
||||
path: deploy/hosting-mngt
|
||||
prune: true
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: icarus-nodes-mngt
|
||||
namespace: hosting-mngt
|
||||
resources:
|
||||
- fluxcd-kustomization.yaml
|
||||
- secrets
|
||||
File renamed without changes.
File renamed without changes.
+2
-2
@@ -1,8 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: icarus-nodes-mngt
|
||||
namespace: hosting-mngt
|
||||
secretGenerator:
|
||||
- name: icarus-ansible
|
||||
- name: ansible-secret
|
||||
files:
|
||||
- ansible_vault_password=.env.d/ansible_vault_password
|
||||
- ansible_become_password=.env.d/ansible_become_password
|
||||
+1
-2
@@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1
|
||||
kind: CronWorkflow
|
||||
metadata:
|
||||
name: crictl-prune
|
||||
namespace: icarus-nodes-mngt
|
||||
spec:
|
||||
schedules:
|
||||
- "0 0 * * *"
|
||||
@@ -19,7 +18,7 @@ spec:
|
||||
steps:
|
||||
- - name: script-exec
|
||||
templateRef:
|
||||
name: icarus-ansible-script
|
||||
name: hosting-mngt-ansible-script
|
||||
template: raw-source
|
||||
arguments:
|
||||
parameters:
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: hosting-mngt
|
||||
resources:
|
||||
- crictl-prune.yaml
|
||||
generatorOptions:
|
||||
File renamed without changes.
+2
-2
@@ -1,9 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: icarus-nodes-mngt
|
||||
namespace: hosting-mngt
|
||||
resources:
|
||||
- argo-runner-sa.yaml
|
||||
- icarus-nodes-mngt-tbot-config.yaml
|
||||
- tbot-config.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: icarus-nodes-mngt-tbot-config
|
||||
namespace: icarus-nodes-mngt
|
||||
name: hosting-mngt-tbot-config
|
||||
data:
|
||||
tbot.yaml: |
|
||||
version: v2
|
||||
@@ -10,7 +9,7 @@ data:
|
||||
on_one_shot: "exit"
|
||||
onboarding:
|
||||
join_method: "kubernetes"
|
||||
token: "icarus-nodes-mngt"
|
||||
token: "hosting-mngt"
|
||||
storage:
|
||||
type: "memory"
|
||||
services:
|
||||
@@ -1,10 +1,11 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: icarus-nodes-mngt
|
||||
namespace: hosting-mngt
|
||||
resources:
|
||||
- infra
|
||||
- cronWorkflows
|
||||
- workflowTemplates
|
||||
- mylimbo-ansible-collections-global
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: mylimbo-ansible-collections-global
|
||||
namespace: icarus-nodes-mngt
|
||||
namespace: hosting-mngt
|
||||
spec:
|
||||
interval: 1m
|
||||
sourceRef:
|
||||
@@ -11,4 +11,4 @@ spec:
|
||||
namespace: chimera-limbosolutions-com
|
||||
path: mylimbo-ansible-collections-global
|
||||
prune: true
|
||||
targetNamespace: icarus-nodes-mngt
|
||||
targetNamespace: hosting-mngt
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: icarus-nodes-mngt
|
||||
namespace: hosting-mngt
|
||||
resources:
|
||||
- fluxcd-kustomization.yaml
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# teleport
|
||||
|
||||
``` bash
|
||||
tctl create -f deploy/hosting-mngt/teleport-manifests/manifest.yaml
|
||||
tctl bots update hosting-mngt --add-roles hosting-mngt
|
||||
```
|
||||
+5
-5
@@ -2,7 +2,7 @@ kind: bot
|
||||
version: v1
|
||||
metadata:
|
||||
# name is a unique identifier for the Bot in the cluster.
|
||||
name: icarus-nodes-mngt
|
||||
name: hosting-mngt
|
||||
spec:
|
||||
roles: []
|
||||
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
kind: role
|
||||
version: v6
|
||||
metadata:
|
||||
name: icarus-nodes-mngt # use the auto created bot role (created by bot yaml)
|
||||
name: hosting-mngt
|
||||
spec:
|
||||
allow:
|
||||
# Allow login to the user 'ansible'.
|
||||
@@ -27,11 +27,11 @@ spec:
|
||||
kind: token
|
||||
version: v2
|
||||
metadata:
|
||||
name: icarus-nodes-mngt
|
||||
name: hosting-mngt
|
||||
spec:
|
||||
roles: [Bot]
|
||||
bot_name: icarus-nodes-mngt
|
||||
bot_name: hosting-mngt
|
||||
join_method: kubernetes
|
||||
kubernetes:
|
||||
allow:
|
||||
- service_account: icarus-nodes-mngt:argo-runner
|
||||
- service_account: hosting-mngt:argo-runner
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: WorkflowTemplate
|
||||
metadata:
|
||||
name: icarus-ansible-script
|
||||
name: hosting-mngt-ansible-script
|
||||
labels:
|
||||
workflows.argoproj.io/archive-strategy: "false"
|
||||
annotations:
|
||||
workflows.argoproj.io/description: |
|
||||
icarus ansible script
|
||||
hosting ansible script
|
||||
spec:
|
||||
entrypoint: raw-source
|
||||
templates:
|
||||
@@ -24,10 +24,10 @@ spec:
|
||||
- name: source
|
||||
value: "{{ inputs.parameters.source }}"
|
||||
- name: tbot_configmap_name
|
||||
value: icarus-nodes-mngt-tbot-config
|
||||
value: hosting-mngt-tbot-config
|
||||
- name: inventory_image_reference
|
||||
value: oci.limbosolutions.com/mylimbo.infra.icarus/ansible-inventory:latest
|
||||
- name: ansible_secret_name
|
||||
value: icarus-ansible
|
||||
value: ansible-secret
|
||||
- name: ssh_domain
|
||||
value: teleport.limbosolutions.com
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- icarus-ansible-script.yaml
|
||||
- hosting-mngt-ansible-script.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
# teleport
|
||||
|
||||
``` bash
|
||||
tctl create -f deploy/icarus-mngt/teleport-manifests/manifest.yaml
|
||||
tctl bots update icarus-nodes-mngt --add-roles icarus-nodes-mngt
|
||||
```
|
||||
Reference in new issue
Block a user