Skip to content

Commit

Permalink
TEST: Add klusterlet and secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Noriega <[email protected]>
  • Loading branch information
oglok committed Apr 9, 2024
1 parent 625e05b commit 4ac653f
Show file tree
Hide file tree
Showing 7 changed files with 1,540 additions and 0 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ resources:
- deployment.yaml
- service.yaml
- route.yaml
- crd-klusterlet.yaml
- agent-registration.yaml
38 changes: 38 additions & 0 deletions basic-nginx-demo/fleet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: v1alpha1
kind: Fleet
metadata:
name: basic-nginx-fleet
spec:
selector:
matchLabels:
fleet: basic-nginx-fleet
template:
spec:
os:
image: quay.io/flightctl/flightctl-agent-basic-nginx:latest
config:
- name: motd-update
configType: InlineConfigProviderSpec
inline:
ignition:
version: 3.4.0
storage:
files:
- contents:
source: >-
data:,This%20system%20is%20managed%20by%20flightctl.%0A
mode: 422
overwrite: true
path: "/etc/motd"
- name: model-server
configType: GitConfigProviderSpec
gitRef:
repository: basic-nginx-demo
targetRevision: main
path: /basic-nginx-demo/configuration
- name: pull-secret
configType: GitConfigProviderSpec
gitRef:
repository: ricky-super-secrets
targetRevision: main
path: /configuration
7 changes: 7 additions & 0 deletions basic-nginx-demo/fleet/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,15 @@ spec:
repository: basic-nginx-demo
targetRevision: main
path: /basic-nginx-demo/configuration
- name: pull-secret
configType: GitConfigProviderSpec
gitRef:
repository: ricky-super-secrets
targetRevision: main
path: /configuration
systemd:
matchPatterns:
- "microshift.service"
- "crio.service"
- "flightctl-agent.service"

743 changes: 743 additions & 0 deletions basic-nginx-demo/klusterlet.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions basic-nginx-demo/openshift-pull-secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"auths":{"cloud.openshift.com":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K3Jub3JpZWdhcmVkaGF0Y29tMWhtdHF4YXMxbGdxcnFraDBlaXlocGhjamJ6OjdIQTkxVlJDUEJZUlRDNERRWFQ2M0tMUllGUjFDNFlQQU1OUEVBQ0cxN0RJOE82NkdJNlFJRVg2UUxQUkFVNjk=","email":"[email protected]"},"quay.io":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K3Jub3JpZWdhcmVkaGF0Y29tMWhtdHF4YXMxbGdxcnFraDBlaXlocGhjamJ6OjdIQTkxVlJDUEJZUlRDNERRWFQ2M0tMUllGUjFDNFlQQU1OUEVBQ0cxN0RJOE82NkdJNlFJRVg2UUxQUkFVNjk=","email":"[email protected]"},"registry.connect.redhat.com":{"auth":"NzkxOTY0NHx1aGMtMUhNVFF4YVMxTGdxUlFLaDBFaVloUGhDSkJ6OmV5SmhiR2NpT2lKU1V6VXhNaUo5LmV5SnpkV0lpT2lJeE9HWmpOelEzT1RneU9ETTBOakF4T1RObE16VmpNVGM1TnprMk1UazBNeUo5LmdybnVzSmM2ZERka3p0Nng5YjdoNVVKSXU5YUZISTdsVUNxSDFTdmZVNlZvSUlkdF9GVElQUTBPQVdyM1JKVkxTMEt1N0N6MWZadW4zM3NQYllYR3QwVDlOZ3pTUExLdGNaUjl3UEdzaE9EQ28xVHo2TVA3VWNpRVJkTzFaSEhiYTRtUWVDeFlqUU9sbnc4dklIZHJrUHYwYkYzNGR2RmEyb0pTbXhYV1F4dEt3dWVnTzM5amhXQjZTQ0E5b25URU1OTk9oOFpFNF9zR0Z6bnU3WnBDMjlMOEZfRTdaUlRSdkNvZTR6ZExadFpWNEVqbW5Db3IxUE5NanY3elVXVGlSSTBGX3hIR2RHVWVtdC1IRUV1elpYb3JYLVpyaHlxQWlucThRWkhaTnlOVHNzVlNfUHc1a05PRWNwdVhFR0s2ZTJNc25QVm5TSGU4bTJkUUtlekM3a1J1aTU5dDE0OE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