Skip to content
This repository was archived by the owner on Jan 24, 2018. It is now read-only.

Commit be1aaaa

Browse files
committed
[FIX] clouder_template_red_october: Review fixes
* Remove data and source from base * Proxy compat * Roadmap notes * Switch user to red october * Fix dockerfile * Bugfixes
1 parent 2455516 commit be1aaaa

16 files changed

Lines changed: 62 additions & 214 deletions

clouder_template_red_october/README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Clouder Template - Red October
77
==============================
88

9-
This module provides a Clouder Template for Red Octover.
9+
This module provides a Clouder Template for Red October.
1010

1111
Red October is a cryptographically-secure implementation of the two-person rule
1212
to protect sensitive data. From a technical perspective, Red October is a
@@ -41,12 +41,13 @@ Usage
4141

4242
To use this module, you need to:
4343

44-
#. Create a CFSSL Service in the Clouder Control Panel
44+
#. Create a Red October application in Clouder
4545

4646
Known issues / Roadmap
4747
======================
4848

49-
* Add more Signature Profile options - https://github.com/cloudflare/redoctober/blob/86ecfbe5750ebf05565e4c80104d0a7919792fee/doc/cmd/redoctober.txt#L113
49+
* The container is currently using a self-signed certificate. This should be changed once a CA exists.
50+
* Runit is being installed via community repos, which are HTTP only. This is insecure.
5051

5152
Bug Tracker
5253
===========
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# -*- coding: utf-8 -*-
22
# Copyright 2016 LasLabs Inc.
33
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
4+
5+
from . import models

clouder_template_red_october/__manifest__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
'data/image.xml',
1919
'data/image_port.xml',
2020
'data/image_volume.xml',
21-
'data/application_tag.xml',
2221
'data/application_type.xml',
2322
'data/application_template.xml',
2423
'data/application.xml',

clouder_template_red_october/data/application.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<odoo>
66

77
<record id="application_redoctober_data" model="clouder.application">
8-
<field name="name">CFSSL Data</field>
8+
<field name="name">Red October Data</field>
99
<field name="code">data</field>
1010
<field name="type_id" ref="application_type_redoctober" />
1111
<field name="tag_ids" eval="[(4, ref('clouder.tag_data'))]" />
@@ -15,7 +15,7 @@
1515
</record>
1616

1717
<record id="application_redoctober_exec" model="clouder.application">
18-
<field name="name">CFSSL Exec</field>
18+
<field name="name">Red October Exec</field>
1919
<field name="code">exec</field>
2020
<field name="type_id" ref="application_type_redoctober" />
2121
<field name="tag_ids" eval="[(4, ref('clouder.tag_exec'))]" />
@@ -26,7 +26,7 @@
2626
</record>
2727

2828
<record id="application_redoctober" model="clouder.application">
29-
<field name="name">CFSSL</field>
29+
<field name="name">Red October</field>
3030
<field name="code">redoctober</field>
3131
<field name="type_id" ref="application_type_redoctober" />
3232
<field name="tag_ids" eval="[(4, ref('tag_cert_authority'))]" />

clouder_template_red_october/data/application_tag.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

clouder_template_red_october/data/application_template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<record id="application_template_redoctober"
88
model="clouder.application.template"
99
>
10-
<field name="name">CFSSL</field>
10+
<field name="name">Red October</field>
1111
</record>
1212

1313
</odoo>

clouder_template_red_october/data/application_type.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
model="clouder.application.type"
99
>
1010
<field name="name">redoctober</field>
11-
<field name="system_user">root</field>
12-
<field name="tag_ids"
13-
eval="[(6, 0, [ref('tag_cert_authority')])]"
14-
/>
11+
<field name="system_user">redoctober</field>
1512
</record>
1613

1714
</odoo>

clouder_template_red_october/data/certificate_policy_use.xml

Lines changed: 0 additions & 162 deletions
This file was deleted.

clouder_template_red_october/data/image.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<field name="template_ids"
1010
eval="[(4, [ref('image_template_redoctober_data')])]"
1111
/>
12-
<field name="parent_from">lasley/redoctober-data</field>
12+
<field name="parent_from">clouder/base:3.4</field>
1313
</record>
1414

1515
<record id="image_redoctober_exec" model="clouder.image">

clouder_template_red_october/data/image_port.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@
88
model="clouder.image.port"
99
>
1010
<field name="template_id" ref="image_template_redoctober_exec" />
11-
<field name="name">redoctober-http</field>
12-
<field name="local_port">8888</field>
11+
<field name="name">https</field>
12+
<field name="local_port">8080</field>
13+
</record>
14+
15+
<record id="image_port_redoctober_comm"
16+
model="clouder.image.port"
17+
>
18+
<field name="template_id" ref="image_template_redoctober_exec" />
19+
<field name="name">comm</field>
20+
<field name="local_port">8081</field>
1321
</record>
1422

1523
</odoo>

0 commit comments

Comments
 (0)