Skip to content

Commit c2bb0e4

Browse files
ihabadhamclaude
andcommitted
Replace org.yml placeholder with renderer + license schema
Document the actual keys the qa-* dictionary needs (RENDERER_PASSWORD, REACT_ON_RAILS_PRO_LICENSE) instead of the unused SOME_ENV placeholder, and warn against re-applying the template after real values are populated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b9f846e commit c2bb0e4

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.controlplane/templates/org.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,25 @@
44
# other sensitive information that is shared across multiple apps
55
# in the same organization.
66

7-
# This is how you apply this once (not during CI)
8-
# cpl apply-template secrets -a qa-react-webpack-rails-tutorial --org shakacode-open-source-examples-staging
7+
# The qa-* dictionary is bootstrapped via this template; prod and
8+
# staging dictionaries are created manually with real values.
9+
10+
# Initial bootstrap (once, manually, not in CI):
11+
# cpflow apply-template secrets -a qa-react-webpack-rails-tutorial --org shakacode-open-source-examples-staging
12+
#
13+
# Populate real values with `cpln apply -f <file>` or `cpln secret edit`.
14+
# Do NOT re-apply this template after real values are set: it will
15+
# overwrite them with the placeholders below.
916

1017
kind: secret
1118
name: {{APP_SECRETS}}
1219
type: dictionary
1320
data:
14-
SOME_ENV: "123456"
21+
# Both sides of the Rails/Node renderer handshake must match.
22+
# Generate with `openssl rand -hex 32`.
23+
RENDERER_PASSWORD: "replace-with-openssl-rand-hex-32"
24+
# JWT from https://pro.reactonrails.com/; same token across envs.
25+
REACT_ON_RAILS_PRO_LICENSE: "replace-with-pro-license-jwt"
1526

1627
---
1728

0 commit comments

Comments
 (0)