Commit graph

349 commits

Author SHA1 Message Date
99590c2dd6 [skip-ci] Allow execution of gopass_wrapper.sh
Firefox wasn't allowed to execute the gopass_wrapper.sh in Ubuntu 22.04.
Explicitly adding it to the Apparmor firefox profile solves this.
Lower jsonApiVersion.
2022-08-31 15:11:44 +02:00
ee48355b9f [skip-ci] Allow execution of gopass_wrapper.sh
Firefox wasn't allowed to execute the gopass_wrapper.sh in Ubuntu 22.04.
Explicitly adding it to the Apparmor firefox profile solves this.
Lower jsonApiVersion.
2022-08-31 15:06:34 +02:00
az
ed8e86e758 remove check if config file exists from ServerCliCommand 2022-08-30 17:36:31 +02:00
az
8767716908 add FirefoxKtTest.kt 2022-08-30 17:15:33 +02:00
e428287790 [skip-ci] Add firefox from ppa installation 2022-08-30 16:14:07 +02:00
az
5a7e5a8535 Merge branch 'master' into improve-input-validation
# Conflicts:
#	src/main/kotlin/org/domaindrivenarchitecture/provs/server/application/CliArgumentsParser.kt
#	src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sCliCommand.kt
#	src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sService.kt
2022-08-30 15:40:28 +02:00
cfe5d48b8e Refactorings 2022-08-30 15:25:44 +02:00
7940d29169 [skip-ci] Remove reprovision cli option 2022-08-26 11:07:37 +02:00
05821540fe Refactoring of input validation
Move application file validation to provisionK3s.
Add an ApplicationFileRepository. Also unit tests for the functions.
2022-08-26 10:52:45 +02:00
1ad357ba44 mob 2022-08-26 09:30:27 +02:00
d9d8678b82 [skip-ci] Add todo messages. 2022-08-25 16:50:47 +02:00
83f86db0d1 [skip-ci] Update README and gopass versions
A few clarifications in the readme.
Also updated versions of gopassJsonAPI and gopassBridge.
Clarified variable name.
2022-08-25 16:15:50 +02:00
17a814a11a Move reprovision cmd line option to new branch 2022-08-24 13:21:43 +02:00
az
2525e0f2bb refactor DesktopType 2022-08-21 13:23:04 +02:00
az
4cc1ce756a resolve unsafe operator 2022-08-21 13:06:49 +02:00
46b822d4cd Review 2022-08-18 17:38:35 +02:00
949fe0c1af Correct server type check
Checking the serverType/subcommand from string input.
Before the check was done after parsing string input,
when an unknown server type was entered a "Too many
arguments!" error was issued due to the parser falsely
interpreting the input.
2022-08-17 15:32:38 +02:00
81350db43d Update command flow
Catch invalid server type befor creating provInstance
2022-08-17 14:46:46 +02:00
6e2d669af5 Prepare for improve of input validation
We now check application and config files before starting provisioning
process. We also check serverType and target validity before starting.
This happens in unified manner in the main function.
2022-08-17 14:05:17 +02:00
77351933fe Prepare for add cli option
-r or --reprovision for convenience
2022-08-16 15:20:19 +02:00
az
1d61273fe2 change test provisionIDEDesktop from container test to manual integration test 2022-07-30 10:44:44 +02:00
c2237c8721 Moved traefik middleware 2022-07-29 14:35:33 +00:00
bom
a36d25e02d Update default shared-ip value 2022-07-22 13:10:12 +02:00
f43b06f7ba Change externalTrafficPolicy
From Local to Cluster.
2022-07-22 10:17:36 +02:00
1e33fcd9fb Update Annotations
Consider correct syntax for helm charts.
Change IP-Address range back to single address.
2022-07-22 09:56:09 +02:00
9fb30341de Update traefik template
Enable multiple loadBalancerIPs for metallb.
Apply the traefik template.
2022-07-21 16:58:49 +02:00
bom
3d385fa8ac Use node_ipv4 in traefik
As we are now using NodePools with more than one IP this ensures that the traefik and subsequently ingresses always have the IP-Address associated with the DNS entry and not a randomly selected one.
2022-07-21 16:08:13 +02:00
bom
a5eebfbf22 Use valid ipv4 CIDR ranges 2022-07-21 15:13:13 +02:00
az
f7628101af [skip ci] refactor installNextcloudClient in own file - fix 2022-07-20 19:42:52 +02:00
az
4a3a25e21c [skip ci] refactor installNextcloudClient in own file 2022-07-20 19:42:16 +02:00
az
751d315299 rename provisionBaseDesktop to provisionBasicDesktop 2022-07-20 18:37:13 +02:00
830a93a468 release 2022-07-18 19:02:39 +02:00
21f22916b2 rename & minor refactoring 2022-07-18 09:29:25 +02:00
bom
7e1c25fc32 Add tests for ssh.kt 2022-07-13 11:33:30 +02:00
bom
93933af0d0 Invert check for ssh hardening config
configureSsh() was never actually doing anything, as the hardening config does not exist in a default ssh setup.
2022-07-13 10:56:44 +02:00
az
a94cbc24b0 rename task lambda from "task" to "taskLambda" 2022-07-11 22:34:22 +02:00
0378e0cf4a enabled other domain names 2022-07-08 16:15:10 +02:00
bom
9e1ae05c12 Configure ssh while provisioning K3s 2022-07-08 13:07:38 +02:00
bom
72ed2951ee Update ssh.kt with all files 2022-07-08 13:04:55 +02:00
bom
942b7ab3a9 Move ssh configs 2022-07-08 13:03:40 +02:00
d8865839a1 Merge remote-tracking branch 'origin/master' 2022-07-08 12:20:05 +02:00
14e98a84d3 Added sshd configure. 2022-07-08 12:19:50 +02:00
bom
51c2ce31ab Add config files for ssh hardening 2022-07-08 10:41:15 +02:00
42376c7e69 Removed python3.8 from installPython3
Using python3 prefix uses latest python version for current distro.
Ensures compatibility with later versions of Ubuntu.
2022-07-07 13:08:20 +02:00
az
e85be4cc20 optimize defaultTestContainer startup 2022-07-06 21:26:47 +02:00
8f876c138e fix tests 2022-07-05 20:38:49 +02:00
5b99f3828c review 2022-07-05 20:19:27 +02:00
46cd2af19e Merge remote-tracking branch 'origin/master' 2022-07-05 20:16:56 +02:00
a608382a58 refactrored desktop mappings 2022-07-05 20:16:29 +02:00
see
a60b98c8a5 Release, ToDos, Refactorings
Cleanup todos and refactor some functions.
This also removes some overloading.
New release v0.12.1
2022-06-30 14:10:04 +02:00